MoroccoEmirate
Idrīsids
172–363 AH · 788–974 CE (186 years)
Founded by Idrīs ibn ʿAbdallāh, a descendant of al-Ḥasan ibn ʿAlī who escaped the massacre at Fakhkh (786) and was received by the Awraba Berbers at Walīla (788). His son Idrīs II developed Fez; the dynasty fragmented between Fāṭimid and Córdoban pressure, and its last emir surrendered to Córdoba in 974 (killed 985).
Succeeded by: Umayyad Caliphate of Córdoba
Its extent over time
172 AH · 788 CEGreatest extent: 172 AH · 788 CE309 AH · 921 CE
Lands it ruled (2)
Fez and northern Morocco172–309 AH · 788–921 CEAfter 828 the realm split among Idrīs II's sons; the Fāṭimid general Maṣāla ibn Ḥabūs and his Miknāsa allies forced Yaḥyā IV to accept Fāṭimid suzerainty (c. 917) and deposed him at Fez (921).
Marrakesh, the Sūs and the Draa172–309 AH · 788–921 CEIn the partition after Idrīs II's death (828) his son ʿAbd Allāh had Aghmāt, Nafīs and the Sūs, though Maṣmūda chiefs ran most of the country.
Sources (2)
al-Muqaddima & Kitab al-'Ibar — Ibn KhaldunKitab al-'Ibar
C. E. Bosworth, The New Islamic Dynasties (Edinburgh University Press, 1996)