Ibn Tumart
The Almohad movement was founded by Ibn Tumart among the Berber Masmuda tribes, but the Almohad state and its ruling dynasty were founded after his death by Abd al-Mu'min al-Gumi. Around 1120, Ibn Tumart first established a Berber state in Tinmel in the Atlas Mountains. Under Abd al-Mu'min (r. 1130–1163) they succeeded in overthrowing the ruling Almoravid dynasty governing Morocco in 1147, when he conquered Marrakesh and declared himself caliph. They then extended their power over all of the Maghreb by 1159. Al-Andalus soon followed, and all of Muslim Iberia was under Almohad rule by 1172.