# Al-Mu'izz ibn Badis Breaks with Cairo (c. 1048)

URL: https://allhistories.com/countries/tunisia/timeline/1048-al-mu-izz-ibn-badis-breaks-with-cairo
Location: Kairouan, Tunisia
Themes: main-event

Ifriqiya's population had remained overwhelmingly Sunni and attached to the Maliki school of Kairouan throughout Fatimid and Zirid rule. On the accession of the boy-emir al-Mu'izz ibn Badis in 1016, mobs in Kairouan and other towns massacred Ismailis, and the Maliki scholars steadily pressed the Zirids to abandon Shi'ism. Around 1041–1048 – the date varies in the sources – al-Mu'izz publicly broke with the Fatimid caliph al-Mustansir. He had the Friday sermon read in the name of the Abbasid caliph al-Qa'im in Baghdad, minted new gold coins with Sunni formulas, burned Fatimid banners and adopted black, the Abbasid colour. Maliki law became the official rite of the state. The break restored Sunnism as the established faith of Tunisia, which it has remained ever since. In Cairo, however, the Fatimid vizier al-Yazuri retaliated by encouraging the Arab nomad tribes of the Banu Hilal and Banu Sulaym to migrate west into Ifriqiya, a decision with devastating consequences. Historians still debate whether the Fatimids actively sent the tribes or simply allowed them to move west, but the medieval sources consistently link the invasion to the Zirid break. At this point in the timeline (c. 1048), the Zirid Emir of Ifriqiya was Al-Mu'izz ibn Badis (May 1016 – 2 September 1062).

## Why it matters
The rupture made Tunisia permanently Sunni and Maliki, but provoked the Fatimid response that unleashed the Hilalian invasion.

Ruler at the Time: [Al-Mu'izz ibn Badis](https://allhistories.com/countries/tunisia/rulers/al-mu-izz-ibn-badis)

## Sources
- [Wikipedia — Al-Mu'izz ibn Badis](https://en.wikipedia.org/wiki/Al-Mu'izz_ibn_Badis)
- [Wikipedia — Zirid dynasty](https://en.wikipedia.org/wiki/Zirid_dynasty)

