The Historical Context
By the late 9th century (late 3rd century AH), the Islamic world was fragmented:
- The ‘Abbasid Caliphate in Baghdad controlled increasingly little territory
- The Tulunid dynasty ruled Egypt; the Aghlabids ruled Ifriqiya (Tunisia/eastern Algeria)
- The Shi’i cause was suppressed but alive — the Imam was in sitr (concealment)
- The Ismaili da’wa was active underground in Yemen, Persia, Iraq, and Sind
The da’wa’s strategy in North Africa was pioneered by the da’i Abu ‘Abdallah al-Shi’i (d. 911 CE) — one of the most remarkable missionary-organizers in Islamic history.
See also: Sitr And Zuhur, Imamah, Dai Al Mutlaq Institution
Abu ‘Abdallah al-Shi’i and the Kutama
The da’i’s journey: Abu ‘Abdallah met pilgrims from the Kutama Berbers of the Kabyle Mountains (modern Algeria) during Hajj. Recognizing their openness, he traveled to their homeland and began a decade-long program of da’wa — teaching, organizing, and winning the entire Kutama confederation to the Ismaili cause.
The Kutama Berbers: A tribal people of the mountain regions of eastern Algeria, the Kutama had no particular attachment to the Aghlabid rulers of Ifriqiya. Abu ‘Abdallah’s message — that the true Imam of the Prophet’s family was coming to establish justice — resonated with their tribal values of loyalty and leadership.
Military organization: Abu ‘Abdallah organized the Kutama into a fighting force and began a systematic conquest of Ifriqiya. Between 296-297 AH / 908-909 CE, the Kutama armies swept through the region, defeating the Aghlabids at every turn.
The fall of Qayrawan: In 297 AH / 909 CE, the Kutama captured Qayrawan — the capital of Aghlabid Ifriqiya, one of the most important cities in the medieval Muslim world.
The Emergence of ‘Ubaydallah al-Mahdi
The Imam’s sitr: ‘Ubaydallah al-Mahdi, the Imam of the Age, had been living in hiding — moving across the Middle East under assumed identities, pursued by ‘Abbasid agents who sought to eliminate the Ismaili Imam. He had settled in Sijilmasa (in modern Morocco) under the assumed name of a merchant.
The mission to find the Imam: Abu ‘Abdallah sent his brother Abu al-‘Abbas to find and escort the Imam after the conquest of Ifriqiya. After navigating Aghlabid opponents, they reached Sijilmasa.
The emergence (297 AH / 909 CE): ‘Ubaydallah al-Mahdi emerged from hiding and rode in triumph through the conquered territories to Ifriqiya. It was the end of the long sitr — the Imam was publicly manifest for the first time in decades.
The proclamation: ‘Ubaydallah al-Mahdi proclaimed himself Caliph — not merely an Imam in the Shi’i sense but a Caliph in the full Islamic political sense — claiming sovereignty over all Muslims and challenging the ‘Abbasid Caliphate’s legitimacy.
The significance for the Muslim world: for the first time since the Umayyad period, there were two simultaneous Caliphs — the ‘Abbasid in Baghdad and the Fatimid in North Africa. The schism was both religious and political.
See also: Fatimid Caliphate, Wali Al Asr, Misaq The Covenant
The Fatimid Capital: Al-Mahdiyya
‘Ubaydallah al-Mahdi founded a new capital on the Tunisian coast — al-Mahdiyya — named after himself. Al-Mahdiyya was built on a peninsula jutting into the Mediterranean, allowing for both naval power projection and defensible isolation.
The city’s symbolism: Al-Mahdiyya’s design was deliberate — it was a statement of Fatimid ambition. Its fortifications, its palace, its congregational mosque, and its naval yards signaled that this was not a provisional rebel camp but a permanent, confident alternative to ‘Abbasid civilization.
The city remains standing today on the Tunisian coast and is recognized as a UNESCO World Heritage site.
The Second Fatimid Imam-Caliph: Al-Qa’im
After ‘Ubaydallah al-Mahdi’s death (322 AH / 934 CE), his son al-Qa’im bi-Amr Allah became the second Fatimid Imam-Caliph. Al-Qa’im’s reign was dominated by the Kharijite uprising of Abu Yazid (the “Man on the Donkey” — sahib al-himar) — one of the most dangerous threats to the young Fatimid state.
Abu Yazid nearly destroyed the Fatimid state — besieging al-Mahdiyya for months and temporarily occupying Qayrawan. Al-Qa’im died during the siege (334 AH / 946 CE).
Al-Mansur and the final victory: The third Imam-Caliph, al-Mansur (son of al-Qa’im), defeated and killed Abu Yazid in 336 AH / 947 CE. To celebrate, he founded a new capital: al-Mansuriyya near Qayrawan.
Al-Mu’izz li-Din Allah and the Conquest of Egypt
The fourth Imam-Caliph, al-Mu’izz li-Din Allah (341-365 AH / 953-975 CE), represents the peak of Fatimid North African achievement. He:
- Conquered North Africa to the Atlantic (Morocco)
- Launched the conquest of Egypt (365 AH / 969 CE) through his general Jawhar al-Siqilli
- Founded Cairo (al-Qahira — the Victorious) as the new Fatimid capital
- Founded al-Azhar mosque in Cairo (named for Sayyidatna Fatima al-Zahra)
- Moved the Fatimid caliphate’s center from North Africa to Egypt
Al-Mu’izz’s transfer from North Africa to Egypt completed the arc: from the emergence of al-Mahdi in 909 CE to al-Mu’izz’s triumphant entry into Cairo in 973 CE is exactly 64 years — a single lifetime, from secret da’wa to Mediterranean empire.
See also: Fatimid Cairo, Fatimid Caliphate, Nasir Khusraw, Qadi Al Numan
The Da’wa’s North African Legacy
The Fatimid North African period established:
- The da’wa’s ability to translate spiritual authority into political power
- The model of the Imam-Caliph combining religious and political sovereignty
- The tradition of founding new capital cities (al-Mahdiyya, al-Mansuriyya, Cairo)
- The administrative and legal infrastructure later codified by Qadi al-Nu’man
The Kutama Berbers who had been the first to follow Abu ‘Abdallah’s da’wa became the backbone of the early Fatimid armies. Their loyalty is a model of the mithaq in action: complete commitment to the Imam’s cause, sustained through decades of patient preparation.
See also: Misaq The Covenant, Bayah And Walayah, Dai Al Mutlaq Institution
See also: Fatimid Caliphate, Fatimid Cairo, Sitr And Zuhur, Imamah, Wali Al Asr, Nasir Khusraw, Qadi Al Numan, Dai Al Mutlaq Institution, Misaq The Covenant, Bayah And Walayah