أطلس الزمانIslamic history from pre-Islamic Arabia to 1924 العربية
MoroccoSultanate

ʿAlawī Dynasty of Morocco

1040–1448 AH · 1631–2026 CE (395 years)
Sharifian dynasty descended from al-Ḥasan ibn ʿAlī, which rose in Tafilalt under Muḥammad al-Sharīf (1631) and unified Morocco under Mawlāy al-Rashīd (Fez, 1666). Mawlāy Ismāʿīl (1672–1727) built Meknes and a slave army; Morocco kept its independence until the French and Spanish protectorates of 1912, and the dynasty still reigns.

Its extent over time

1040 AH · 1631 CEGreatest extent: 1246 AH · 1830 CE1330 AH · 1912 CE

Its rulers (28)

The names in order
Mawlay al-Sharif ibn Ali1040–1045 AH · c. 1631–1635 CEProclaimed in the Tafilalt in 1631; died in 1659. His son Muhammad took over the rule in 1635.
Muhammad ibn al-Sharif1045–1074 AH · c. 1635–1664 CEKilled in battle in 1664.
al-Rashid ibn al-Sharif1074–1082 AH · 1664–1672 CEProclaimed after his brother's death; took Fez in 1666, from when he acted as sultan and Bosworth dates him, and Marrakesh in 1669; died after a fall from his horse.
Ismail ibn al-Sharif1082–1139 AH · 1672–1727 CEMade Meknes his capital; reigned fifty-five years.
Ahmad al-Dhahabi1139–1140 AH · c. 1727–1728 CEThe years 1727-57 were an anarchy in which the sons of Ismail were made and unmade by the black guard, the army and the tribes (EI). Sources count the reigns differently; the order here comes from a modern list and is given by the year only.
Abd al-Malik ibn Ismail1140–1140 AH · c. 1728–1728 CE
Ahmad al-Dhahabi (second reign)1140–1141 AH · c. 1728–1729 CEHad Abd al-Malik strangled, and died three days later (al-Zirikli).
Abd Allah ibn Ismail1141–1147 AH · c. 1729–1734 CEEI counts four reigns, Bosworth five and the list followed here six; al-Zirikli says he was deposed four times.
Ali al-Araj ibn Ismail1147–1149 AH · c. 1734–1736 CE
Abd Allah ibn Ismail (second reign)1149–1149 AH · c. 1736–1736 CE
Muhammad ibn Ismail (Ibn Arabiyya)1149–1151 AH · c. 1736–1738 CE
al-Mustadi ibn Ismail1151–1153 AH · c. 1738–1740 CE
Abd Allah ibn Ismail (third reign)1153–1154 AH · c. 1740–1741 CE
Zayn al-Abidin ibn Ismail1154–1154 AH · c. 1741–1741 CE
Abd Allah ibn Ismail (fourth reign)1154–1155 AH · c. 1741–1742 CE
al-Mustadi ibn Ismail (second reign)1155–1156 AH · c. 1742–1743 CE
Abd Allah ibn Ismail (fifth reign)1156–1160 AH · c. 1743–1747 CE
al-Mustadi ibn Ismail (third reign)1160–1161 AH · c. 1747–1748 CE
Abd Allah ibn Ismail (sixth reign)1161–1170 AH · c. 1748–1757 CEDied in 1757.
Muhammad III ibn Abd Allah1170–1204 AH · 1757–1790 CEEnded the anarchy; founded Essaouira (Mogador) and opened Moroccan trade to Europe.
al-Yazid ibn Muhammad1204–1206 AH · 1790–1792 CE
Sulayman ibn Muhammad1206–1238 AH · 1792–1822 CEIn his early years rival sons of Muhammad III held Marrakesh: Husayn (1790-94) and Hisham (from 1792). Bosworth gives Sulayman's accession as 1793.
Abd al-Rahman ibn Hisham1238–1276 AH · 1822–1859 CEIn his reign Morocco was defeated by France at Isly (1844).
Muhammad IV ibn Abd al-Rahman1276–1290 AH · 1859–1873 CE
al-Hasan I1290–1311 AH · 1873–1894 CE
Abd al-Aziz ibn al-Hasan1311–1326 AH · 1894–1908 CEOverthrown by his brother Abd al-Hafiz, who had proclaimed himself sultan at Marrakesh in 1907.
Abd al-Hafiz ibn al-Hasan1326–1330 AH · 1908–1912 CESigned the Treaty of Fez (30 March 1912), which made Morocco a French protectorate, and abdicated in August.
Yusuf ibn al-Hasan1330–1346 AH · 1912–1927 CEReigned until November 1927. The atlas stops in the 1920s, so this list ends here; the dynasty still reigns in Morocco: Muhammad V (1927-53, 1955-61), Muhammad ibn Arafa (1953-55, set up by the French), al-Hasan II (1961-99) and Muhammad VI (since 1999).
Lands it ruled (7)
Sijilmāsa and Tāfīlālt1040–1076 AH · 1631–1666 CEMuḥammad al-Sharīf led the ʿAlawī rise here from 1631; Abū Ḥassūn of Iligh and the Dilāʾ zawiya contested the oases, and Mawlāy al-Rashīd went on to take Fez.
Fez and northern Morocco1076–1330 AH · 1666–1912 CEMawlāy al-Rashīd razed Dilāʾ in 1668 and took Marrakesh in 1668–69; the Treaty of Fez (March 1912) imposed the French protectorate, under which the dynasty continued.
Sijilmāsa and Tāfīlālt1076–1330 AH · 1666–1912 CEThe ʿAlawī family's home, where sultans sent many of their princes to live.
Tāmasnā (the Atlantic plain, Rabat to Azemmour)1076–1330 AH · 1666–1912 CEMawlāy al-Rashīd took Fez in 1666 and the plain with it; the French protectorate began here at Rabat in 1912.
Marrakesh, the Sūs and the Draa1080–1330 AH · 1669–1912 CEʿAlawī rule, with the Sūs and the Tekna often out of the sultan's reach; the French entered Marrakesh in 1912.
Tuwāt, Gūrāra and Tīdīkelt1103–1210 AH · 1692–1796 CEMoroccan governors ran Gūrāra, Tuwāt and Tīdīkelt from Mawlāy Ismāʿīl's time until Mawlāy Sulaymān recalled his in 1796.
Tlemcen and Tāhart (the western central Maghrib)1246–1248 AH · 1830–1832 CEAfter Algiers fell the people of Tlemcen turned to Mawlāy ʿAbd al-Raḥmān of Morocco, whose men held the town until 1832; France took Oran in January 1831.
Sources (6)
C. R. Pennell, Morocco since 1830: A History (Hurst, 2000)
Jamil M. Abun-Nasr, A History of the Maghrib in the Islamic Period (Cambridge University Press, 1987)
The New Islamic Dynasties: A Chronological and Genealogical Manual — C. E. Bosworthno. 21, The Alawid or Filali Sharifs
Encyclopaedia of Islam (2nd/3rd ed.) — BrillAlawis, vol. 1; Mawlay Ismail, vol. 6; Mawlay al-Hasan, vol. 3; Sulayman, vol. 9; Abd al-Aziz, vol. 1
Manuel de généalogie et de chronologie pour l'histoire de l'Islam — E. de Zambaurtable 60
al-Zirikli, al-A'lam, on Ahmad al-Dhahabi and Abd Allah ibn Ismail; Wikipedia, 'List of rulers of Morocco', only as a pointer to the order of the reigns of 1727-57, not checked against a chronicle

Open in the atlas