In Baghdad, Ibn Tumart attached himself to the theological school of al-Ash'ari, and came under the influence of the teacher al-Ghazali.
Gibanje proti vladajočim Almoravidom je začel Ibn Tumart v plemenu Masmuda.