The Ayyubid States: Foundation, Regional Rule and Political Change
The Ayyubids ruled Egypt and parts of Syria from the late twelfth century, but their dominions were not a single, consistently centralized state. Founded by Saladin after the end of Fatimid rule in 1171, the dynasty expanded across a broad region, then developed into a family network of principalities whose rulers competed as well as cooperated. The Egyptian sultanate passed to the Mamluks in 1250, while Ayyubid rule in Syria ended amid the Mongol conquest a decade later. Some local branches survived much longer, so the loss of Egypt did not mean the immediate end of every Ayyubid regime.
On this page5 sections
Fatimid Egypt and Saladin’s new sultanate
Saladin’s rise began within the political order he would replace. He served in Egypt under his uncle Shirkuh, a commander sent by Nur al-Din, the Zengid ruler of Syria. After Shirkuh became vizier in 1169 and died later that year, Saladin took the same office under the Fatimid caliph al-Adid. The Fatimid state was a Shi’a caliphate whose rulers had governed Egypt from Cairo. Saladin initially held power as its vizier, not as an independent sultan.
In September 1171, Saladin removed the Fatimid caliph’s name from Friday prayers and recognised the Sunni Abbasid caliph in Baghdad. Al-Adid died shortly afterwards. Friday prayers and coinage publicly displayed political allegiance, so the change marked the end of the Fatimid caliphate. Saladin also supported Sunni schools for religious law, redirecting patronage towards the Maliki and Shafi’i traditions.
Saladin’s position in Egypt became the base for his expansion into Syria after Nur al-Din’s death in 1174. He took control of Damascus and other Syrian territories, while also contending with Zengid rulers and local powers. The Abbasid caliph recognized him as sultan of Egypt and Syria. His authority eventually extended beyond those core territories, although some distant possessions were governed by relatives or local rulers and proved difficult to hold. Ayyubid authority also reached Yemen and the Hejaz, while a campaign into northern Nubia led to temporary occupation rather than lasting expansion.
A family confederation across Egypt and Syria
Saladin built his rule around his household. He assigned territories to relatives, who governed as princes and emirs, the latter being high-ranking commanders or rulers. These family members owed allegiance to the leading Ayyubid sultan, but had considerable freedom in their own domains. The result was a political confederation in which the sultan’s authority depended on family ties and his ability to command agreement among the princes.
Egypt and Syria worked differently within this arrangement. Cairo and the Nile valley gave the Egyptian ruler access to a long-established centre of government and a productive agricultural base. Syria, by contrast, was divided among major cities and their surrounding territories, often ruled by separate Ayyubid princes. Damascus served as Saladin’s principal seat of government, giving him a strategic base close to Syrian rivals and the Crusader states. Later sultans shifted the balance between Cairo and Damascus as they tried to strengthen their own authority.
Military organization also tied the princes to the sultanate while leaving room for competing interests. Rulers maintained personal contingents, including mamluks, soldiers purchased as military slaves and attached to a ruler’s household. Other troops included free-born Kurdish and Turkish cavalrymen and regional auxiliaries. Some commanders received an iqtaʿ, an assignment of revenue that helped them maintain troops. It was not simply ownership of the land: the holder was expected to provide a specified, equipped military force when called upon. Rivalries among rulers’ military households could, however, weaken cooperation during disputes over succession.
Ayyubid rulers also relied on local officials and educated urban elites to help administer towns. They could bring local leaders into a ruler’s service, pay them from state revenues, or assign them income from a waqf, a charitable endowment. Religious schools were among the institutions supported in this way. Saladin and later patrons founded madrasas, schools for religious and legal learning, in major cities. In Egypt, Sunni schools helped establish the new regime’s religious affiliations after Fatimid rule; in Syria, Ayyubid patrons supported several Sunni legal traditions. Such foundations connected rulers with scholars and urban communities, though they did not make local government identical across the realm.
Succession, rivalry and diplomacy
Saladin had already assigned major territories to relatives during his lifetime. After his death in 1193, his sons al-Aziz in Egypt, al-Afdal in Damascus and al-Zahir in Aleppo held separate centres of power. Their uncle al-Adil possessed substantial resources too. Rival alliances and fighting eventually brought al-Adil the sultanate in 1200; his descendants supplied Egypt’s later Ayyubid sultans.
These contests were not confined to the ruling family. Ayyubid princes negotiated and fought with Zengid rulers, the Crusader states, and other regional powers. At times, rival Ayyubids sought outside allies against one another, including Crusader rulers. Such agreements reflected the political divisions of the period, not a permanent alignment between the parties. The Crusader states were also opponents with whom Ayyubid rulers could negotiate when war was costly or when a settlement helped contain a rival.
Saladin’s campaigns had brought Jerusalem and much of the Crusader kingdom in the Levant under Ayyubid control in 1187. After further fighting, he reached a settlement with Richard I of England in 1192. It restored the Crusader kingdom along a coastal strip between Jaffa and Beirut, while Jerusalem remained under Muslim rule. In a later example of diplomacy, al-Kamil agreed in 1229 to give Emperor Frederick II control of an unfortified Jerusalem for a limited period. The agreement preserved Muslim control of the city’s Islamic holy places. Al-Kamil’s rival in Syria, an-Nasir Dawud, opposed the settlement, illustrating how a treaty with an external power could intensify disputes within the Ayyubid family.
The Fifth Crusade’s invasion of Egypt produced another change in the balance between regions. Crusaders captured Damietta in 1219, but Ayyubid forces drove them out of the Nile Delta in 1221. The campaign showed why control of Egypt mattered to both sides: its river routes and resources made it a strategic base, not merely a distant province of a Syrian-led realm. Under al-Kamil and his successors, the Egyptian sultanate and Syrian principalities continued to negotiate and compete over authority.
Regional losses and the Mamluk succession in Egypt
From the 1220s onward, Ayyubid control outside Egypt and Syria contracted. A local ruler in Yemen declared independence in 1229, and Rasulid rulers displaced Ayyubid authority in the Hejaz, including Mecca, by 1238. The wider Ayyubid realm also faced pressure in Upper Mesopotamia. These losses were not all consequences of one defeat: they reflected the difficulty of maintaining the loyalty of distant governors and local dynasties while the ruling family was divided.
As-Salih Ayyub, ruler of Egypt from 1240 to 1249, tried to replace family government with more direct control through appointed officials and commanders. By 1247 he held much of Syria, but Aleppo remained under a separate Ayyubid ruler. His death during the Seventh Crusade reopened the struggle over authority. His son Turanshah succeeded him but alienated powerful Mamluk commanders, who killed him in 1250 after the Crusader defeat.
Shajar al-Durr, as-Salih Ayyub’s widow, helped direct Egypt’s government and military response during the crisis and briefly took the throne. She then married the Mamluk commander Aybak, who became the effective ruler; a young Ayyubid was at first sultan in name only. This transition established Mamluk rule in Egypt, but it did not immediately settle who would govern Syria. The Ayyubid ruler of Aleppo, an-Nasir Yusuf, tried to recover Egypt. Negotiations and conflict followed, and a 1253 agreement broadly recognized Mamluk control of Egypt and parts of Palestine while an-Nasir Yusuf retained authority in Syria.
The Syrian Ayyubid position collapsed under a new external assault. Mongol forces captured Aleppo in 1260 and advanced into Syria. Damascus capitulated, and Ayyubid rulers and garrisons lost control of much of the region. In September 1260, the Mamluks defeated the Mongols at Ain Jalut and took control of Damascus and most of Syria. The result was the end of Ayyubid power as a major regional authority, but not the disappearance of every branch of the dynasty.
Local Ayyubid survivals after the sultanate
Hama continued under Ayyubid rulers who accepted Mamluk supremacy. The principality was suppressed in 1299 and restored in 1310 for Abu Fida, a member of the dynasty who had served the Mamluks. Direct Mamluk rule finally replaced the local branch in 1341. Its survival depended on service and patronage within the new regional order.
At Hisn Kayfa, now Hasankeyf in southeastern Anatolia, Ayyubid authority passed through further conquest and restoration. Uzun Hasan’s Aq Qoyunlu forces took the town in the fifteenth century, and Safavid influence followed. The local Ayyubid ruler Melik Halil was restored in 1517 under Ottoman supremacy. The branch’s later history involved changing overlords and interruptions of power, rather than uninterrupted independence.
For the wider setting, see The Ayyubids: History, Government and Society in Egypt and Syria.