Ibn Tumart
The mahdi Ibn Tumart also had championed the idea of strict Islamic law and morals displacing unorthodox aspects of Berber custom. At his early base at Tinmal, Ibn Tumart functioned as "the custodian of the faith, the arbiter of moral questions, and the chief judge." Yet evidently because of the narrow legalism then common among Maliki jurists and because of their influence in the rival Almoravid regime, Ibn Tumart opposed the Maliki school of law favoring instead the Zahirite school.