Abdullah al-Mahdi Billah
ʿAbd Allah al-Mahdi Billah was the first caliph of the Fatimid dynasty and a central figure in the emergence of Ismaili rule in North Africa. His name is also rendered as ʿUbayd Allah al-Mahdi. He led the Ismaili movement from concealment into public power, establishing a rival Shiʿi caliphate at a time when the Abbasids ruled from Baghdad.
From secret leadership to North African rule
Before his rise, al-Mahdi was the leader of an Ismaili community whose imams and missionaries operated under pressure and often in secrecy. In 899, he openly claimed the imamate. This announcement divided the wider Ismaili movement: his supporters recognized him and his ancestors as imams, while dissident groups rejected the change and continued to await the return of Muhammad ibn Ismaʿil as the Mahdi.
Pursued by Abbasid authorities, al-Mahdi traveled west through Egypt and settled for several years in Sijilmasa, in present-day Morocco. Meanwhile, the missionary Abu ʿAbd Allah al-Shiʿi built support among the Kutama Berbers and led an army that overthrew the Aghlabid rulers of Ifriqiya. Al-Mahdi joined this new power in 909 and was acclaimed as imam and caliph. His state took the name Fatimid, invoking Fatima, the Prophet Muhammad’s daughter.
The Fatimids claimed descent from Ali and Fatima, a genealogy that established their religious and political legitimacy. Abbasid opponents challenged that ancestry, and historians have examined the competing accounts. The dynasty’s identity as an Ismaili ruling house is clear, while details of the early family line remain a subject of historical debate.
Building a new caliphate
Al-Mahdi had depended on al-Shiʿi’s military success, but the two men soon clashed over authority. In 911, al-Mahdi ordered al-Shiʿi’s execution, consolidating the caliph’s control over the movement that had brought him to power.
The new regime faced resistance from local populations and rival Muslim factions. It also sought to extend its influence eastward. Al-Mahdi’s forces launched expeditions toward Egypt in 914 and 919, but failed to establish lasting control there. Egypt would not be conquered by the Fatimids until several decades later, under his descendants.
To secure his dynasty, al-Mahdi founded a new coastal capital, al-Mahdiyya, in present-day Tunisia. Its defensible location and fortified harbor reflected the young state’s need to protect itself from enemies by land and sea. Al-Mahdi died in 934 and was succeeded by his son al-Qaʾim. The caliphate he created would eventually expand across North Africa, Egypt, and parts of the eastern Mediterranean.





