غلبة المهدي العبيدي على المغرب وخروجه من أمر بني العباس
غلبة المهدي العبيدي على المغرب وخروجه من أمر بني العباس
c. 909 CE · c. 296 AH
Under al-Muqtadir the Mahdi's cause prevailed in the Maghreb: he was saluted as imam and caliph, built al-Mahdiyya, and the Aghlabid amir Ziyadat Allah fled to Egypt then Iraq — 'from this date the Maghreb left the Abbasids' command', after a hundred and sixty-odd years of their rule over all the Islamic realms. The Mahdi marched on Egypt with forty thousand Berbers; the Nile barred him, so he took Alexandria and the Fayyum, while his son al-Qa'im later seized most of Upper Egypt and the Fustat quarter 1.
At a glance
- Era
- The Early Abbasid Caliphate
- Region
- Maghreb · Egypt & Nile
- Review
- Draft Completeness 2/5 · Help complete it
In time
Overview
In the days of al-Muqtadir the cause of al-Mahdi grew strong in the Maghrib, the caliphate was proclaimed for him, and the Maghrib left the command of the Abbasids. Ziyadat Allah ibn al-Aghlab fled to Egypt and then to Iraq. 2
The account
The source of the caliphs says that al-Mahdi spread justice among the people, built al-Mahdiyya, and his kingdom grew great. He marched toward Egypt with forty thousand Berbers, but the Nile came between him and it, so he returned to Alexandria. His son al-Qa'im took most of Upper Egypt. 2
Al-Mas'udi's account
According to al-Mas'udi, Abu Abd Allah al-Muhtasib, the propagandist among the Kutama and the Berbers, drove Ziyadat Allah out of Ifriqiya in 296 AH, and called for Ubayd Allah, the lord of the Maghrib. The Aghlabids had been the amirs of Ifriqiya since al-Rashid appointed Ibrahim ibn al-Aghlab in 184 AH. 3
Connections
- Had participant
- عبيد الله المهدي· زيادة الله بن الأغلب
People and things also explored
ظهور أبي عبد الله الشيعي بالمغرب· نهاية الدولة الأغلبية وهرب زيادة الله· وفاة المهدي عبيد الله صاحب المغرب· دخول أبي عبد الله الشيعي رقادة وانهيار دولة الأغالبة· عبيد الله المهدي· زيادة الله بن الأغلب
Sources
- Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition), p. 587-590
- Tarikh al-Khulafa — al-Suyuti (Dar al-Minhaj edition), p.587-590
- Muruj al-Dhahab — al-Masʼudi, p.647-648
Cite this page
islam.museum contributors. “غلبة المهدي العبيدي على المغرب وخروجه من أمر بني العباس”. islam.museum, https://islam.museum/en/event/fatimid-mahdi-maghreb/. CC BY-SA 4.0. Accessed 2026-10-17.