HistoryData
Historical EmpireMahdia

Zirid
Dynasty

Active Reign Period
9721148AD
Calculated Duration
176 Years

The Zirid dynasty was the first major Berber ruling house in Ifriqiya, bridging Fatimid dominance and later Berber imperial movements across the Maghreb.

Key Facts

Duration (Ifriqiya branch)
972–1148 AD
Duration (central Maghreb)
972–1014 AD
Founding dynasty
Sanhaja Berbers, descended from Ziri ibn Manad
Capital shift
Kairouan to Mahdia, 1057 AD
Cadet branch
Hammadids broke away after 1015 AD
End of rule
Mahdia surrendered to Normans of Sicily, 1148 AD

Imperial Zenith Metrics

Capital
Mahdia
Duration
176yrs
Historical Capitals
Kairouan972–1057Mahdia1057–1148

Historical Trajectory

Phase I: Rise

The Zirid dynasty emerged from the military leadership of Ziri ibn Manad, a Sanhaja Berber commander in service of the Fatimid Caliphate. When the Fatimids relocated their capital to Cairo in 972, they appointed Ziri's son Buluggin ibn Ziri as governor of Ifriqiya. Buluggin rapidly extended Zirid control westward, briefly occupying Fez and much of present-day Morocco, and eastward into Tripolitania and as far as Ajdabiya in Libya.

Phase II: Zenith

At their height the Zirids governed a broad arc of North Africa from the central Maghreb to Tripolitania, exercising effective autonomy while nominally serving the Fatimids. Kairouan functioned as a vibrant administrative and cultural center. The Zirids also intervened in Sicily when Kalbid authority there collapsed, extending their political influence across the central Mediterranean during the late 10th and early 11th centuries.

Phase III: Decline

The Zirid ruler al-Mu'izz ibn Badis renounced the Fatimid Caliphate between 1041 and 1051, prompting the Fatimids to unleash the Banu Hilal migration into Ifriqiya, devastating Zirid power. The Hammadid branch had already broken away by 1015. Norman raids along the coast further eroded authority in the 12th century, and in 1148 the last Zirid ruler surrendered Mahdia to the Normans, ending independent Zirid rule. The Almohads absorbed the remaining territories by 1160.

Notable Imperial Reigns

Selected rulers mapping the empire’s trajectory

Ruler
Start
End
Duration
Buluggin ibn Ziri
972
984
12Y
al-Mansur ibn Buluggin
984
996
12Y
Badis ibn Mansur
996
1016
20Y
al-Mu'izz ibn Badis
1016
1062
46Y
Tamim ibn al-Mu'izz
1062
1108
46Y
Yahya ibn Tamim
1108
1116
8Y
Ali ibn Yahya
1116
1121
5Y
al-Hasan ibn Ali
1121
1148
27Y