Saadi dynasty
Ahmed ibn Abi Mahalli (1559–1613), from the south of Morocco, was a Qadi and religious scholar who proclaimed himself mahdi and led a revolution (1610–13) against the reigning Saadi dynasty.