Idrisid (789–985)
The Birth of Morocco’s First Kingdom
Moroccan history has been filled with heroic figures among the sultans and kings who have ruled the nation. These figures range from Sultan Mohammed V's courageous resistance against the colonial rule to King Mohammed VI's visionary leadership and dedication to social progress. Here you can immerse yourself in a captivating journey, where you can explore the incredible royal heroes who have shaped Morocco into the strong and resilient nation it stands as today and uncover their inspiring stories and remarkable accomplishments.

THE FOUNDER OF MOROCCO
KING IDRISS I
Yusuf ibn Tashfin, the fearless Almoravid ruler, left a lasting legacy as a unifier and defender of Islam. He expanded his empire across North Africa and Al-Andalus, bringing stability and prosperity to his people. His leadership in the Battle of Sagrajas secured Muslim rule in Spain, while his founding of Marrakech established a powerful capital. Known for his wisdom, humility, and military brilliance, Yusuf ibn Tashfin shaped the course of history, strengthening Islamic governance and leaving an enduring mark on Morocco and beyond.
The Last King of the Idrisid Dynasty
Al Qasim Gannoun
Al Qasim Gannoun was the final ruler of the Idrisid dynasty, reigning in the early 10th century. His rule marked the end of Morocco's first Islamic dynasty, as internal conflicts and external pressures weakened their control. The dynasty’s decline opened the door for rival dynasties like the Fatimids and Umayyads to exert influence over Morocco. Despite the dynasty's fall, the Idrisids’ legacy of unifying Morocco and establishing Fez as a cultural and religious center remains a cornerstone of Moroccan history.

Founders of the Moroccan Kingdom
Discover the Idrisid kings, Morocco’s founding dynasty. From Idris I to the last ruler Al Qasim Gannoun, these leaders unified the region, established Fez, and shaped the nation’s Islamic and cultural identity.
Explore their lasting legacy in Moroccan history.

Idris I
(788–791)

Muhammad ibn Idris
(828–836)

Ali ibn Idris
(836–848)

Yahya ibn Muhammad
(848–864)

Yahya ibn Yahya
(864–874)

Ali ibn Umar
(874–883)

Yahya ibn Al-Qasim
(883–904)

Al-Hasan ibn Muhammad
(904–927)

Al-Qasim Jannun
(937–948)

Abu’l-Aysh Ahmad
(948–954)

Al-Hasan II ibn Qasim
(954–974)