Zirid dynasty replaces Fatimid Caliphate
Ziri ibn Manad d. 360 AH (971 CE)
Abul-Futuh Sayf ad-Dawla Buluggin ibn Ziri 361-373 AH (972-984 CE)
Abul-Fat'h al-Mansur ibn Buluggin 373-386 AH (984-996 CE)
Abu Qatada Nasir ad-Dawla Badis ibn Mansur 386-406 AH (996-1016 CE)
Sharaf ad-Dawla al-Muizz ibn Badis 406-454 AH (1016–1062 CE) declared independence from the Fatimids and changed the khutba to refer to the Abbasid Caliph in 1048, changed capital to Mahdia in 1057 after Kairouan was lost to the Hilalian invasions
Abu Tahir Tamim ibn al-Mu'izz 454-501 AH (1062–1108 CE)
Yahya ibn Tamim 501-509 AH (1108–1116 CE)
Ali ibn Yahya 509-515 AH (1116–1121 CE)
Abu'l-Hasan al-Hasan ibn Ali 515-543 AH (1121–1148 CE)