Ayyubid dynasty

Ayyubid Sultanate

Flag of Ayyubid
Ayyubid Sultanate (in pink) at the death of Saladin in 1193
Ayyubid Sultanate (in pink) at the death of Saladin in 1193
CapitalCairo (1171–1174)
Damascus (1174–1218)
Cairo (1218–1250)
Aleppo (1250–1260)
Common languagesArabic, Kurdish, Aramaic
Sunni Islam
GovernmentSultanate (princely confederation) under Abbasid Caliphate[1]
• 1174–1193
Saladin (first)
• 1193–1198
• 1198–1200
• 1200–1218
Al-Adil I
• 1218–1238
• 1238–1240
Al-Adil II
• 1240–1249
As-Salih Ayyub
• 1250–1254
• Established
• Disestablished
1190 est.[2]2,000,000 km2 (770,000 sq mi)
1200 est.[3]1,700,000 km2 (660,000 sq mi)
• 12th century
7,200,000 (estimate)c
Preceded by
Succeeded by
Fatimid Caliphate
Zengid dynasty
Kingdom of Jerusalem
Mamluk Sultanate (Cairo)
Rasulid dynasty
aA branch of the Ayyubid dynasty ruled Hisn Kayfa until the early 16th century.
bFor details of the languages spoken by the Ayyubid rulers and their subjects, see Religion, ethnicity and language below.
cThe total population of the Ayyubid territories is unknown. This population figure only includes Egypt, Syria, Upper Mesopotamia, Palestine and Transjordan. Other Ayyubid territories, including coastal areas of Yemen, the Hejaz, Nubia and Cyrenaica are not included.

The Ayyubid dynasty (Arabic: الأيوبيونal-Ayyūbīyūn; Kurdish: خانەدانی ئەیووبیانXanedana Eyûbîyan) was a Muslim dynasty of Kurdish origins[4][5][6][7] founded by Saladin and centred in Egypt. The dynasty ruled large parts of the Middle East during the 12th and 13th centuries. Saladin had risen to vizier of Fatimid Egypt in 1169, before abolishing the Fatimids in 1171. Three years later, he was proclaimed sultan following the death of his former master, the Zengid ruler Nur al-Din.[8] For the next decade, the Ayyubids launched conquests throughout the region and by 1183, their domains encompassed Egypt, Syria, Upper Mesopotamia, the Hejaz, Yemen and the North African coast up to the borders of modern-day Tunisia. Most of the Crusader states including the Kingdom of Jerusalem fell to Saladin after his victory at the Battle of Hattin in 1187. However, the Crusaders regained control of Palestine's coastline in the 1190s.

After Saladin's death in 1193, his sons contested control of the sultanate, but Saladin's brother al-Adil ultimately became the paramount sultan in 1200. All of the later Ayyubid sultans of Egypt were his descendants. In the 1230s, the emirs of Syria attempted to assert their independence from Egypt and the Ayyubid realm remained divided until Sultan as-Salih Ayyub restored its unity by conquering most of Syria, except Aleppo, by 1247. By then, local Muslim dynasties had driven out the Ayyubids from Yemen, the Hejaz and parts of Mesopotamia. After his death in 1249, as-Salih Ayyub was succeeded in Egypt by al-Mu'azzam Turanshah. However, the latter was soon overthrown by his Mamluk generals who had repelled a Crusader invasion of the Nile Delta. This effectively ended Ayyubid power in Egypt; attempts by the emirs of Syria, led by an-Nasir Yusuf of Aleppo, to wrest back Egypt failed. In 1260, the Mongols sacked Aleppo and conquered the Ayyubids' remaining territories soon after. The Mamluks, who expelled the Mongols, maintained the Ayyubid principality of Hama until deposing its last ruler in 1341.

During their relatively short tenure, the Ayyubids ushered in an era of economic prosperity in the lands they ruled, and the facilities and patronage provided by the Ayyubids led to a resurgence in intellectual activity in the Islamic world. This period was also marked by an Ayyubid process of vigorously strengthening Sunni Muslim dominance in the region by constructing numerous madrasas (Islamic schools of law) in their major cities.



The progenitor of the Ayyubid dynasty, Najm ad-Din Ayyub ibn Shadhi, belonged to the Kurdish Rawadiya tribe, itself a branch of the Hadhabani confederation. Ayyub's ancestors settled in the town of Dvin, in northern Armenia.[5] The Rawadiya were the dominant Kurdish group in the Dvin district, forming part of the political-military elite of the town.[5]

Circumstances became unfavorable in Dvin when Turkish generals seized the town from its Kurdish prince. Shadhi left with his two sons Ayyub and Asad ad-Din Shirkuh.[5] His friend Mujahid ad-Din Bihruz—the military governor of northern Mesopotamia under the Seljuks—welcomed him and appointed him governor of Tikrit. After Shadhi's death, Ayyub succeeded him in governance of the city with the assistance of his brother Shirkuh. Together they managed the affairs of the city well, gaining them popularity from the local inhabitants.[9] In the meantime, Imad ad-Din Zangi, the ruler of Mosul, was defeated by the Abbasids under Caliph al-Mustarshid and Bihruz. In his bid to escape the battlefield to Mosul via Tikrit, Zangi took shelter with Ayyub and sought his assistance in this task. Ayyub complied and provided Zangi and his companions boats to cross the Tigris River and safely reach Mosul.[10]

As a consequence for assisting Zangi, the Abbasid authorities sought punitive measures against Ayyub. Simultaneously, in a separate incident, Shirkuh killed a close confidant of Bihruz on charges that he had sexually assaulted a woman in Tikrit. The Abbasid court issued arrest warrants for both Ayyub and Shirkuh, but before the brothers could be arrested, they departed Tikrit for Mosul in 1138.[10] When they arrived in Mosul, Zangi provided them with all the facilities they needed and he recruited the two brothers into his service. Ayyub was made commander of Ba'albek and Shirkuh entered the service of Zangi's son, Nur ad-Din. According to historian Abdul Ali, it was under the care and patronage of Zangi that the Ayyubid family rose to prominence.[10]

Establishment in Egypt

In 1164, Nur al-Din dispatched Shirkuh to lead an expeditionary force to prevent the Crusaders from establishing a strong presence in an increasingly anarchic Egypt. Shirkuh enlisted Ayyub's son, Saladin, as an officer under his command.[11] They successfully drove out Dirgham, the vizier of Egypt, and reinstated his predecessor Shawar. After being reinstated, Shawar ordered Shirkuh to withdraw his forces from Egypt, but Shirkuh refused, claiming it was Nur al-Din's will that he remain.[12] Over the course of several years, Shirkuh and Saladin defeated the combined forces of the Crusaders and Shawar's troops, first at Bilbais, then at a site near Giza, and in Alexandria, where Saladin would stay to protect while Shirkuh pursued Crusader forces in Lower Egypt.[13]

Shawar died in 1169 and Shirkuh became vizier, but he too died later that year.[14] After Shirkuh's death, Saladin was appointed vizier by the Fatimid caliph al-Adid because there was "no one weaker or younger" than Saladin, and "not one of the emirs obeyed him or served him", according to medieval Muslim chronicler Ibn al-Athir.[15] Saladin soon found himself more independent than ever before in his career, much to the dismay of Nur al-Din who attempted to influence events in Egypt. He permitted Saladin's elder brother, Turan-Shah, to supervise Saladin in a bid to cause dissension within the Ayyubid family and thus undermining its position in Egypt. Nur al-Din satisfied Saladin's request that he be joined by his father Ayyub. However, Ayyub was sent primarily to ensure that Abbasid suzerainty was proclaimed in Egypt, which Saladin was reluctant to undertake due to his position as the vizier of the Fatimids. Although Nur al-Din failed to provoke the Ayyubids into rivalry, the extended Ayyubid family, particularly a number of local governors in Syria, did not entirely back Saladin.[16]

Saladin consolidated his control in Egypt after ordering Turan-Shah to put down a revolt in Cairo staged by the Fatimid army's 50,000-strong Nubian regiments. After this success, Saladin began granting his family members high-ranking positions in the country and increased Sunni Muslim influence in Shia Muslim-dominated Cairo by ordering the construction of a college for the Maliki school of jurisprudence of Sunni Islam in the city, and another for the Shafi'i school, to which he belonged, in al-Fustat.[17] In 1171, al-Adid died and Saladin took advantage of this power vacuum, effectively taking control of the country. Upon seizing power, he switched Egypt's allegiance to the Baghdad-based Abbasid Caliphate which adhered to Sunni Islam.[11]


Conquest of North Africa and Nubia

Saladin went to Alexandria in 1171–72 and found himself facing the dilemma of having many supporters in the city, but little money. A family council was held there by the Ayyubid emirs of Egypt where it was decided that al-Muzaffar Taqi al-Din Umar, Saladin's nephew, would launch an expedition against the coastal region of Barqa (Cyrenaica) west of Egypt with a force of 500 cavalry. In order to justify the raid, a letter was sent to the Bedouin tribes of Barqa, rebuking them for their robberies of travelers and ordering them to pay the alms-tax (zakat). The latter was to be collected from their livestock.[18]

In late 1172, Aswan was besieged by former Fatimid soldiers from Nubia and the governor of the city, Kanz al-Dawla—a former Fatimid loyalist—requested reinforcements from Saladin who complied. The reinforcements had come after the Nubians had already departed Aswan, but Ayyubid forces led by Turan-Shah advanced and conquered northern Nubia after capturing the town of Ibrim. Turan-Shah and his Kurdish soldiers temporarily lodged there. From Ibrim, they raided the surrounding region, halting their operations after being presented with an armistice proposal from the Dongola-based Nubian king. Although Turan-Shah's initial response was hawkish, he later sent an envoy to Dongola, who upon returning, described the poverty of the city and of Nubia in general to Turan-Shah. Consequently, the Ayyubids, like their Fatimid predecessors, were discouraged from further southward expansion into Nubia due to the poverty of the region, but required Nubia to guarantee the protection of Aswan and Upper Egypt.[19] The Ayyubid garrison in Ibrim withdrew to Egypt in 1175.[20]

In 1174, Sharaf al-Din Qaraqush, a commander under al-Muzaffar Umar, conquered Tripoli from the Normans with an army of Turks and Bedouins.[18][21] Subsequently, while some Ayyubid forces fought the Crusaders in the Levant, another of their armies, under Sharaf al-Din, wrested control of Kairouan from the Almohads in 1188.[18]

Conquest of Arabia

In 1173, Saladin sent Turan-Shah to conquer Yemen and the Hejaz. Muslim writers Ibn al-Athir and later al-Maqrizi wrote that the reasoning behind the conquest of Yemen was an Ayyubid fear that should Egypt fall to Nur al-Din, they could seek refuge in a faraway territory. In May 1174, Turan-Shah conquered Zabid and later that year captured Aden.[22] Aden became the principal maritime port of the dynasty in the Indian Ocean and the principal city of Yemen,[23] although the official capital of Ayyubid Yemen was Ta'iz.[24] The advent of the Ayyubids marked the beginning of a period of renewed prosperity in the city which saw the improvement of its commercial infrastructure, the establishment of new institutions, and the minting of its own coins.[23] Following this prosperity, the Ayyubids implemented a new tax which was collected by galleys.[25]

Turan-Shah drove out the remaining Hamdanid rulers of Sana'a, conquering the mountainous city in 1175.[22] With the conquest of Yemen, the Ayyubids developed a coastal fleet, al-asakir al-bahriyya, which they used to guard the sea coasts under their control and protect them from pirate raids.[26] The conquest held great significance for Yemen because the Ayyubids managed to unite the previous three independent states (Zabid, Aden, and Sana'a) under a single power. However, when Turan-Shah was transferred from his governorship in Yemen in 1176, uprisings broke out in the territory and were not quelled until 1182 when Saladin assigned his other brother Tughtekin Sayf al-Islam as governor of Yemen.[22] The Ayyubid na'ib (deputy governor) of Yemen, Uthman al-Zandjili, conquered the greater part of Hadramaut in 1180, upon Turan-Shah's return to Yemen.[27]

From Yemen, as from Egypt, the Ayyubids aimed to dominate the Red Sea trade routes which Egypt depended on and so sought to tighten their grip over the Hejaz, where an important trade stop, Yanbu, was located.[28] To favor trade in the direction of the Red Sea, the Ayyubids built facilities along the Red Sea-Indian Ocean trade routes to accompany merchants.[29] The Ayyubids also aspired to back their claims of legitimacy within the Caliphate by having sovereignty over the Islamic holy cities of Mecca and Medina.[28] The conquests and economic advancements undertaken by Saladin effectively established Egypt's hegemony in the region.[29]

Conquest of Syria and Mesopotamia

Although still nominally a vassal of Nur al-Din, Saladin adopted an increasingly independent foreign policy. This independence became more publicly pronounced after Nur al-Din's death in 1174.[11] Thereafter, Saladin set out to conquer Syria from the Zengids, and on November 23 he was welcomed in Damascus by the governor of the city. By 1175, he had taken control of Hama and Homs, but failed to take Aleppo after besieging it.[30] Control of Homs was handed to the descendants of Shirkuh in 1179 and Hama was given to Saladin's nephew, al-Muzaffar Umar.[31] Saladin's successes alarmed Emir Saif al-Din of Mosul, the head of the Zengids at the time, who regarded Syria as his family's estate and was angered that it was being usurped by a former servant of Nur al-Din. He mustered an army to confront Saladin near Hama. Although heavily outnumbered, Saladin and his veteran soldiers decisively defeated the Zengids.[30] After his victory, he proclaimed himself king and suppressed the name of as-Salih Ismail al-Malik (Nur al-Din's adolescent son) in Friday prayers and Islamic coinage, replacing it with his own name. The Abbasid caliph, al-Mustadi, graciously welcomed Saladin's assumption of power and gave him the title of "Sultan of Egypt and Syria".[32]

In the spring of 1176, another major confrontation occurred between the Zengids and the Ayyubids, this time at the Sultan's Mound, 15 kilometres (9.3 mi) from Aleppo. Saladin again emerged victorious, but Saif al-Din managed to narrowly escape. The Ayyubids proceeded to conquer other Syrian cities in the north, namely Ma'arat al-Numan, A'zaz, Buza'a, and Manbij, but failed to capture Aleppo during a second siege. An agreement was laid out, however, whereby Gumushtigin, the governor of Aleppo, and his allies at Hisn Kayfa and Mardin, would recognize Saladin as the sovereign of the Ayyubids' possessions in Syria, while Saladin allowed for Gumushtigin and as-Salih al-Malik to continue their rule over Aleppo.[33]

While Saladin was in Syria, his brother al-Adil governed Egypt,[34] and in 1174–75, Kanz al-Dawla of Aswan revolted against the Ayyubids with the intention of restoring Fatimid rule. His main backers were the local Bedouin tribes and the Nubians, but he also enjoyed the support of a multitude of other groups, including the Armenians. Coincidental or possibly in coordination, was an uprising by Abbas ibn Shadi who overran Qus along the Nile River in central Egypt. Both rebellions were crushed by al-Adil.[35] For the rest of that year and throughout early 1176, Qaraqush continued his raids in western North Africa, bringing the Ayyubids into conflict with the Almohads who ruled the Maghreb.[18]

In 1177, Saladin led a force of some 26,000 soldiers, according to Crusader chronicler William of Tyre, into southern Palestine after hearing that most of the Kingdom of Jerusalem's soldiers were besieging Harim north of Aleppo. Suddenly attacked by the Templars under Baldwin IV of Jerusalem near Ramla, the Ayyubid army was defeated at the Battle of Montgisard, with the majority of its troops killed. Saladin encamped at Homs the following year and a number of skirmishes between his forces, commanded by Farrukh Shah, and the Crusaders occurred.[36] Undeterred, Saladin invaded the Crusader states from the west and defeated Baldwin at the Battle of Marj Ayyun in 1179. The following year, he destroyed the newly built Crusader castle of Chastellet at the Battle of Jacob's Ford. In the campaign of 1182, he sparred with Baldwin again in the inconclusive Battle of Belvoir Castle in Kawkab al-Hawa.[37]

In May 1182, Saladin captured Aleppo after a brief siege; the new governor of the city, Imad al-Din Zangi II, had been unpopular with his subjects and surrendered Aleppo after Saladin agreed to restore Zangi II's previous control over Sinjar, Raqqa, and Nusaybin, which would thereafter serve as vassal territories of the Ayyubids.[38] Aleppo formally entered Ayyubid hands on 12 June. The day after, Saladin marched to Harim, near the Crusader-held Antioch and captured the city when its garrison forced out their leader, Surhak, who was then briefly detained and released by al-Muzaffar Umar.[39] The surrender of Aleppo and Saladin's allegiance with Zangi II had left Izz al-Din al-Mas'ud of Mosul the only major Muslim rival of the Ayyubids. Mosul had been subjected to a short siege in the autumn of 1182, but after mediation by the Abbasid caliph an-Nasir, Saladin withdrew his forces. Mas'ud attempted to align himself with the Artuqids of Mardin, but they became allies of Saladin instead. In 1183, Irbil too switched allegiance to the Ayyubids. Mas'ud then sought the support of Pahlawan ibn Muhammad, the governor of Azerbaijan, and although he did not usually intervene in the region, the possibility of Pahlawan's intervention made Saladin cautious about launching further attacks against Mosul.[40]

An arrangement was negotiated whereby al-Adil was to administer Aleppo in the name of Saladin's son al-Afdal, while Egypt would be governed by al-Muzaffar Umar in the name of Saladin's other son Uthman. When the two sons were to come of age they would assume power in the two territories, but if any died, one of Saladin's brothers would take their place.[41] In the summer of 1183, after ravaging eastern Galilee, Saladin's raids there culminated in the Battle of al-Fule in the Jezreel Valley between him and the Crusaders under Guy of Lusignan. The mostly hand-to-hand fighting ended indecisively. The two armies withdrew to a mile from each other and while the Crusaders discussed internal matters, Saladin captured the Golan Plateau, cutting the Crusaders off from their main supplies source. In October 1183 and then on 13 August 1184, Saladin and al-Adil besieged Crusader-held Karak, but were unable to capture it. Afterward, the Ayyubids raided Samaria, burning down Nablus. Saladin returned to Damascus in September 1184 and a relative peace between the Crusader states and the Ayyubid empire subsequently ensued in 1184–1185.[42]

Saladin launched his last offensive against Mosul in late 1185, hoping for an easy victory over a presumably demoralized Mas'ud, but failed due to the city's unexpectedly stiff resistance and a serious illness which caused Saladin to withdraw to Harran. Upon Abbasid encouragement, Saladin and Mas'ud negotiated a treaty in March 1186 that left the Zengids in control of Mosul, but under the obligation to supply the Ayyubids with military support when requested.[40]

Conquest of Palestine and Transjordan

Virtually the entire Kingdom of Jerusalem passed into Ayyubid hands after their victory against the Crusaders in the Battle of Hattin in 1187; illustration from Les Passages faits Outremer par les Français contre les Turcs et autres Sarrasins et Maures outremarins, circa 1490

Saladin besieged Tiberias in the eastern Galilee on 3 July 1187 and the Crusader army attempted to attack the Ayyubids by way of Kafr Kanna. After hearing of the Crusaders' march, Saladin led his guard back to their main camp at Kafr Sabt, leaving a small detachment at Tiberias. With a clear view of the Crusader army, Saladin ordered al-Muzaffar Umar to block the Crusaders' entry from Hattin by taking a position near Lubya, while Gökböri and his troops were stationed at a hill near al-Shajara. On 4 July the Crusaders advanced toward the Horns of Hattin and charged against the Muslim forces, but were overwhelmed and defeated decisively. Four days after the battle, Saladin invited al-Adil to join him in the reconquest of Palestine, Galilee and Lebanese coast. On 8 July the Crusader stronghold of Acre was captured by Saladin, while his forces seized Nazareth and Saffuriya; other brigades took Haifa, Caesarea, Sebastia and Nablus, while al-Adil conquered Mirabel and Jaffa. On 26 July, Saladin returned to the coast and received the surrender of Sarepta, Sidon, Beirut, and Jableh.[43] In August, the Ayyubids conquered Ramla, Darum, Gaza, Bayt Jibrin, and Latrun. Ascalon was taken on 4 September.[44] In September–October 1187, the Ayyubids besieged Jerusalem, taking possession of it on 2 October, after negotiations with Balian of Ibelin.[45]

Karak and Mont Real in Transjordan soon fell, followed by Safad in the northeastern Galilee. By the end of 1187 the Ayyubids were in control of virtually the entire Crusader kingdom in the Levant with the exception of Tyre, which held out under Conrad of Montferrat. In December 1187, an Ayyubid army consisting of the garrisons of Saladin and his brothers from Aleppo, Hama, and Egypt besieged Tyre. Half of the Muslim naval fleet was seized by Conrad's forces on 29 December, followed by an Ayyubid defeat on the shoreline of the city. On 1 January 1188, Saladin held a war council where a withdrawal from Tripoli was agreed.[46]

Third Crusade

Pope Gregory VIII called for a Third Crusade against the Muslims in early 1189. Frederick Barbarossa of the Holy Roman Empire, Philip Augustus of France, and Richard the Lionheart of England formed an alliance to reconquer Jerusalem. Meanwhile, the Crusaders and the Ayyubids fought near Acre that year and were joined by the reinforcements from Europe. From 1189 to 1191, Acre was besieged by the Crusaders, and despite initial Muslim successes, it fell to Richard's forces. A massacre of 2,700 Muslim inhabitants ensued, and the Crusaders then planned to take Ascalon in the south.[47]

The Crusaders, now under the unified command of Richard, defeated Saladin at the Battle of Arsuf, allowing for the Crusader conquest of Jaffa and much of coastal Palestine, but they were unable to recover the interior regions. Instead, Richard signed a treaty with Saladin in 1192, restoring the Kingdom of Jerusalem to a coastal strip between Jaffa and Beirut. It was the last major war effort of Saladin's career, as he died the next year, in 1193.

Quarrels over the sultanate

Rather than establishing a centralized empire, Saladin had established hereditary ownership throughout his lands, dividing his empire among his kinsmen, with family members presiding over semi-autonomous fiefs and principalities.[11] Although these princes (emirs) owed allegiance to the Ayyubid sultan, they maintained relative independence in their own territories.[48] Upon Saladin's death, az-Zahir took Aleppo from al-Adil per the arrangement and al-Aziz Uthman held Cairo, while his eldest son, al-Afdal retained Damascus,[49] which also included Palestine and much of Mount Lebanon.[50] Al-Adil then acquired al-Jazira (Upper Mesopotamia), where he held the Zengids of Mosul at bay. In 1193, Mas'ud of Mosul joined forces with Zangi II of Sinjar and together the Zengid coalition moved to conquer al-Jazira. However, before any major results could be achieved, Mas'ud fell ill and returned to Mosul, and al-Adil then compelled Zangi to make a quick peace before the Zengids suffered territorial losses at the hands of the Ayyubids.[40] Al-Adil's son al-Mu'azzam took possession of Karak and Transjordan.[49]

Soon, however, Saladin's sons squabbled over the division of the empire. Saladin had appointed al-Afdal to the governorship of Damascus with the intention that his son should continue to see the city as his principal place of residence in order to emphasize the primacy of the jihad (struggle) against the Crusader states. Al-Afdal, however, found that his attachment to Damascus contributed to his undoing. Several of his father's subordinate emirs left the city for Cairo to lobby Uthman to oust him on claims he was inexperienced and intended to oust the Ayyubid old guard. Al-Adil further encouraged Uthman to act in order prevent al-Afdal's incompetence putting the Ayyubid empire in jeopardy. Thus, in 1194, Uthman openly demanded the sultanate. Uthman's claim to the throne was settled in a series of assaults on Damascus in 1196, forcing al-Afdal to leave for a lesser post at Salkhad. Al-Adil established himself in Damascus as a lieutenant of Uthman, but wielded great influence within the empire.[50]

When Uthman died in a hunting accident near Cairo, al-Afdal was again made sultan (although Uthman's son al-Mansur was the nominal ruler of Egypt), al-Adil having been absent in a campaign in the northeast. Al-Adil returned and managed to occupy the Citadel of Damascus, but then faced a strong assault from the combined forces of al-Afdal and his brother az-Zahir of Aleppo. These forces disintegrated under al-Afdal's leadership and in 1200, al-Adil resumed his offensive.[51] Upon Uthman's death, two clans of mamluks (slave soldiers) entered into conflict. They were the Asadiyya and Salahiyya, both of which Shirkuh and Saladin had purchased. The Salahiyya backed al-Adil in his struggles against al-Afdal. With their support, al-Adil conquered Cairo in 1200,[52] and forced al-Afdal to accept internal banishment.[51] He proclaimed himself Sultan of Egypt and Syria afterward and entrusted the governance of Damascus to al-Mu'azzam and al-Jazira to his other son al-Kamil.[52] Also around 1200, a sharif (tribal head related to the Islamic prophet Muhammad), Qatada ibn Idris, seized power in Mecca and was recognized as the emir of the city by al-Adil.[28]

Al-Afdal attempted unsuccessfully to take Damascus his final time. Al-Adil entered the city in triumph in 1201.[51] Thereafter, al-Adil's line, rather than Saladin's line, dominated the next 50 years of Ayyubid rule.[51] However, az-Zahir still held Aleppo and al-Afdal was given Samosata in Anatolia.[52] Al-Adil redistributed his possessions between his sons: al-Kamil was to succeed him in Egypt, al-Ashraf received al-Jazira, and al-Awhad was given Diyar Bakr, but the latter territory shifted to al-Ashraf's domain after al-Awhad died.[52]

Al-Adil aroused open hostility from the Hanbali lobby in Damascus for largely ignoring the Crusaders, having launched only one campaign against them. Al-Adil believed that the Crusader army could not be defeated in a direct fight. Prolonged campaigns also involved the difficulties of maintaining a coherent Muslim coalition. The trend under al-Adil was the steady growth of the empire, mainly through the expansion of Ayyubid authority in al-Jazira and incorporation of Shah-Armen domains (in eastern Anatolia). The Abbasids eventually recognized al-Adil's role as sultan in 1207.[51]

By 1208 Kingdom of Georgia challenged Ayyubid rule in eastern Anatolia and besieged Khilat (possessions of al-Awhad). In response al-Adil assembled and personally led large Muslim army that included the emirs of Homs, Hama and Baalbek as well as contingents from other Ayyubid principalities to support al-Awhad. During the siege, Georgian general Ivane Mkhargrdzeli accidentally fell into the hands of the al-Awhad on the outskirts of Khilat and was released in 1210, only after the Georgians agreed to sign a Thirty Years' Truce. The truce ended the Georgian menace to Ayyubid Armenia,[53] leaving the Lake Van region to the Ayyubids of Damascus.

A Crusader military campaign was launched on 3 November 1217, beginning with an offensive towards Transjordan. Al-Mu'azzam urged al-Adil to launch a counter-attack, but he rejected his son's proposal.[54] In 1218, the fortress of Damietta in the Nile Delta was besieged by the Crusaders. After two failed attempts, the fortress eventually capitulated on 25 August. Six days later al-Adil died of apparent shock at Damietta's loss.[55]

Al-Kamil proclaimed himself sultan in Cairo, while his brother al-Mu'azzam claimed the throne in Damascus. Al-Kamil attempted to retake Damietta, but was forced back by John of Brienne. After learning of a conspiracy against him, he fled, leaving the Egyptian army leaderless. Panic ensued, but with the help of al-Mu'azzam, al-Kamil regrouped his forces. By then, however, the Crusaders had seized his camp. The Ayyubids offered to negotiate for a withdrawal from Damietta, offering the restoration of Palestine to the Kingdom of Jerusalem, with the exception of the forts of Mont Real and Karak.[56] This was refused by the leader of the Fifth Crusade, Pelagius of Albano, and in 1221, the Crusaders were driven out of the Nile Delta after the Ayyubid victory at Mansura.[11]


Loss of territories and ceding of Jerusalem

Al-Kamil (right) and Frederick II signed a treaty restoring Jerusalem to the Crusaders for ten years; from Nuova Cronica, mid-14th century

In the east, the Khwarezemids under Jalal ad-Din Mingburnu captured the town of Khilat from al-Ashraf,[57] while the normally loyalist Rasulids began to encroach on Ayyubid territorial holdings in Arabia. In 1222 the Ayyubids appointed the Rasulid leader Ali Bin Rasul as governor of Mecca. Ayyubid rule in Yemen and the Hejaz was declining and the Ayyubid governor of Yemen, Mas'ud bin Kamil, was forced to leave for Egypt in 1223. He appointed Nur ad-Din Umar as his deputy governor while he was absent.[58] In 1224 the local al-Yamani dynasty gained control of Hadramaut from the Ayyubids who had held it loosely due to the troubled situation of their administration in Yemen proper.[27] Following Mas'ud bin Kamil's death in 1229, Nur ad-Din Umar declared himself the independent ruler of Yemen and discontinued the annual tribute payment to the Ayyubid sultanate in Egypt.[58]

Under Frederick II, a Sixth Crusade was launched, capitalizing on the ongoing internal strife between al-Kamil of Egypt and al-Mu'azzam of Syria.[11] Subsequently, al-Kamil offered Jerusalem to Frederick to avoid a Syrian invasion of Egypt, but the latter refused. Al-Kamil's position was strengthened when al-Mu'azzam died in 1227 and was succeeded by his son an-Nasir Dawud. Al-Kamil continued negotiations with Frederick II in Acre in 1228, leading to a truce agreement signed in February 1229. The agreement gave the Crusaders control over an unfortified Jerusalem for over ten years, but also guaranteed Muslims control over Islamic holy places in the city.[48] Although the treaty was virtually meaningless in military terms, an-Nasir Dawud used it to provoke the sentiments of Syria's inhabitants and a Friday sermon by a popular preacher at the Umayyad Mosque "reduced the crowd to violent sobbing and tears".[59]

The settlement with the Crusaders was accompanied by a proposed redistribution of the Ayyubid principalities whereby Damascus and its territories would by governed by al-Ashraf, who recognized al-Kamil's sovereignty. An-Nasir Dawud resisted the settlement, incensed by the Ayyubid-Crusader truce.[59] Al-Kamil's forces reached Damascus to enforce the proposed agreement in May 1229. The siege put great pressure on the city, but the inhabitants rallied to an-Nasir Dawud, supportive of al-Mu'azzam's stable rule and angered at the treaty with Frederick. After one month, however, an-Nasir Dawud sued for a peaceful outcome and was given a new principality centered around Karak, while al-Ashraf, the governor of Diyar Bakr, assumed the governorship of Damascus.[60]

Meanwhile, the Seljuks were advancing towards al-Jazira,[61] and the descendants of Qatada ibn Idris fought with their Ayyubid overlords over control of Mecca. The conflict between them was taken advantage of by the Rasulids of Yemen who attempted to end Ayyubid suzerainty in the Hejaz and bring the region under their control which they accomplished in 1238 when Nur al-Din Umar captured Mecca.[28][58]

Syro-Egyptian divide

Al-Ashraf's rule in Damascus was stable, but he and the other emirs of Syria sought to assert their independence from Cairo. Amid these tensions, al-Ashraf died in August 1237 after a four-month illness and was succeeded by his brother as-Salih Ismail. Two months later, al-Kamil's Egyptian army arrived and besieged Damascus, but as-Salih Ismail had destroyed the suburbs of the city to deny al-Kamil's forces shelter.[62] In 1232, al-Kamil installed his eldest son as-Salih Ayyub to govern Hisn Kayfa, but upon al-Kamil's death in 1238, as-Salih Ayyub disputed the proclamation of younger brother al-Adil II as sultan in Cairo. As-Salih Ayyub eventually occupied Damascus in December 1238, but his uncle Ismail retrieved the city in September 1239. Ismail's cousin an-Nasir Dawud had Ismail detained in Karak in a move to prevent the latter's arrest by al-Adil II. Ismail entered into an alliance with Dawud who released him the following year, allowing him to proclaim himself sultan in place of al-Adil II in May 1240.

Throughout the early 1240s, as-Salih Ayyub carried out reprisals against those who supported al-Adil II, and he then quarreled with an-Nasir Dawud who had reconciled with as-Salih Ismail of Damascus. The rival sultans as-Salih Ayyub and Ismail attempted to ally with the Crusaders against the other.[63] In 1244, the breakaway Ayyubids of Syria allied with the Crusaders and confronted the coalition of as-Salih Ayyub and the Khwarizmids at Hirbiya, near Gaza. A large battle ensued, resulting in a major victory for as-Salih Ayyub and the virtual collapse of the Kingdom of Jerusalem.[64]

Restoration of unity

In 1244–1245, as-Salih Ayyub had seized the area approximate to the modern-day West Bank from an-Nasir Dawud; he gained possession of Jerusalem, then marched on to take Damascus, which fell with relative ease in October 1245.[64] Shortly afterward, Sayf al-Din Ali surrendered his exposed principality of Ajlun and its fortress to as-Salih Ayyub. The rupture of the alliance between the Khwarizmids and as-Salih Ayyub ended with the virtual destruction of the former by al-Mansur Ibrahim, the Ayyubid emir of Homs, in October 1246.[64] With the Khwarizimid defeat, as-Salih Ayyub was able to complete the conquest of southern Syria.[65] His general Fakhr ad-Din went on to subdue an-Nasir Dawud's territories. He sacked the lower town of Karak, then besieged its fortress. A stalemate followed with neither an-Nasir Dawud or Fakhr ad-Din strong enough to dislodge the other's forces. A settlement was eventually reached whereby an-Nasir Dawud would retain the fortress, but cede the remainder of his principality to as-Salih Ayyub. Having settled the situation in Palestine and Transjordan, Fakhr ad-Din moved north and marched to Bosra, the last place still held by Ismail. During the siege, Fakhr ad-Din fell ill, but his commanders continued the assault against the city, which fell in December 1246.[66]

By May 1247, as-Salih Ayyub was master of Syria south of Lake Homs, having gained control over Banyas and Salkhad. With his fellow Ayyubid opponents subdued, except for Aleppo under an-Nasir Yusuf, as-Salih Ayyub undertook a limited offensive against the Crusaders, sending Fakhr ad-Din to move against their territories in the Galilee. Tiberias fell on 16 June, followed by Mount Tabor and Kawkab al-Hawa soon thereafter. Safad with its Templar fortress seemed out of reach, so the Ayyubids marched south to Ascalon. Facing stubborn resistance from the Crusader garrison, an Egyptian flotilla was sent by as-Salih Ayyub to support the siege and on 24 October, Fakhr ad-Din's troops stormed through a breach in the walls and killed or captured the entire garrison. The city was razed and left deserted.[66]

As-Salih Ayyub returned to Damascus to keep an eye on developments in northern Syria. Al-Ashraf Musa of Homs had ceded the important stronghold of Salamiyah to as-Salih Ayyub the previous winter, perhaps to underline their patron-client relationship. This troubled the Ayyubids of Aleppo who feared it would be used as a base for a military take-over of their city. An-Nasir Yusuf found this intolerable and decided to annex Homs in the winter of 1248. The city surrendered in August and an-Nasir Yusuf's terms forced al-Ashraf Musa to hand over Homs, but he was allowed to retain nearby Palmyra and Tell Bashir in the Syrian Desert. As-Salih Ayyub sent Fakhr ad-Din to recapture Homs, but Aleppo countered by sending an army to Kafr Tab, south of the city.[67] An-Nasir Dawud left Karak for Aleppo to support an-Nasir Yusuf, but in his absence, his brothers al-Amjad Hasan and az-Zahir Shadhi detained his heir al-Mu'azzam Isa and then personally went to as-Salih Ayyub's camp at al-Mansourah in Egypt to offer him control of Karak in return for holdings in Egypt. As-Salih Ayyub agreed and sent the eunuch Badr al-Din Sawabi to act as his governor in Karak.[68]


Rise of the Mamluks and fall of Egypt

In 1248, a Crusader fleet of 1,800 boats and ships arrived in Cyprus with the intent of launching a Seventh Crusade against the Muslims by conquering Egypt. Their commander, Louis IX, attempted to enlist the Mongols to launch a coordinated attack on Egypt, but when this failed to materialize, the Crusader force sailed to Damietta and the local population there fled as soon as they landed. When as-Salih Ayyub, who was in Syria at the time, heard of this, he rushed back to Egypt, avoiding Damietta, instead reaching Mansurah. There, he organized an army and raised a commando force which harassed the Crusaders.[69]

As-Salih Ayyub was ill and his health deteriorated further due to the mounting pressure from the Crusader offensive. His wife Shajar al-Durr called a meeting of all the war generals and thus became commander-in-chief of the Egyptian forces. She ordered the fortification of Mansurah and then stored large quantities of provisions and concentrated her forces there. She also organized a fleet of war galleys and scattered them at various strategic points along the Nile River. Crusader attempts to capture Mansurah were thwarted and King Louis found himself in a critical position. He managed to cross the Nile to launch a surprise attack against Mansurah. Meanwhile, as-Salih Ayyub died, but Shajar al-Durr and as-Salih Ayyub's Bahri Mamluk generals, including Rukn al-Din Baybars and Aybak, countered the assault and inflicted heavy losses on the Crusaders. Simultaneously, Egyptian forces cut off the Crusader's line of supply from Damietta, preventing the arrival of reinforcements. As-Salih Ayyub's son and the newly proclaimed Ayyubid sultan al-Mu'azzam Turan-Shah reached Mansurah at this point and intensified the battle against the Crusaders. The latter ultimately surrendered at the Battle of Fariskur, and King Louis and his companions were arrested.[70]

Al-Mu'azzam Turan-Shah alienated the Mamluks soon after their victory at Mansurah and constantly threatened them and Shajar al-Durr. Fearing for their positions of power, the Bahri Mamluks revolted against the sultan and killed him in April 1250.[48] Aybak married Shajar al-Durr and subsequently took over the government in Egypt in the name of al-Ashraf II who became sultan, but only nominally.[71]

Dominance of Aleppo

Intent on restoring the supremacy of Saladin's direct descendants within the Ayyubid family,[72] an-Nasir Yusuf was eventually able to enlist the backing of all of the Syria-based Ayyubid emirs in a common cause against Mamluk-dominated Egypt. By 1250, he took Damascus with relative ease and except for Hama and Transjordan, an-Nasir Yusuf's direct authority stood unbroken from the Khabur River in northern Mesopotamia to the Sinai Peninsula. In December 1250, he attacked Egypt after hearing of al-Mu'azzam Turan-Shah's death and the ascension of Shajar al-Durr. An-Nasir Yusuf's army was much larger and better-equipped than that of the Egyptian army, consisting of the forces of Aleppo, Homs, Hama, and those of Saladin's only surviving sons, Nusrat ad-Din and Turan-Shah ibn Salah ad-Din.[73] Nonetheless, it suffered a major defeat at the hands of Aybak's forces. An-Nasir Yusuf subsequently returned to Syria, which was slowly slipping out of his control.[72]

The Mamluks forged an alliance with the Crusaders in March 1252 and agreed to jointly launch a campaign against an-Nasir Yusuf. King Louis, who had been released after al-Mu'azzam Turan-Shah's murder, led his army to Jaffa, while Aybak intended to send his forces to Gaza. Upon hearing of the alliance, an-Nasir Yusuf immediately dispatched a force to Tell al-Ajjul, just outside Gaza, in order to prevent the junction of the Mamluk and Crusader armies. Meanwhile, the rest of the Ayyubid army was stationed in the Jordan Valley. Realizing that a war between them would greatly benefit the Crusaders, Aybak and an-Nasir Yusuf accepted Abbasid mediation via Najm ad-Din al-Badhirai. In April 1253, a treaty was signed whereby the Mamluks would retain control over all of Egypt and Palestine up to, but not including, Nablus, while an-Nasir Yusuf would be confirmed as the ruler of Muslim Syria. Thus, Ayyubid rule was officially ended in Egypt.[74] After conflict arose between the Mamluks and the Ayyubids reignited, al-Badhirai arranged another treaty, this time giving an-Nasir Yusuf control of the Mamluks' territories in Palestine and al-Arish in Sinai. Instead of placing Ayyubids in charge, however, an-Nasir Yusuf handed Jerusalem to a Mamluk named Kutuk while Nablus and Jenin were given to Baibars.[75]

For over a year after the settlement with the Mamluks, calm settled over an-Nasir Yusuf's reign, but on 11 December 1256 he sent two envoys to the Abbasids in Baghdad seeking formal investiture from the caliph, al-Musta'sim, for his role as "Sultan". This request was connected to an-Nasir's rivalry with Aybak, as the title would be useful in future disputes with the Mamluks. However, the Mamluks had sent their envoys to Baghdad previously to precisely ensure that an-Nasir Yusuf would not gain the title, putting al-Musta'sim in a difficult position.[75]

In early 1257, Aybak was killed in a conspiracy, and was succeeded by his 15-year-old son, al-Mansur Ali, while Saif ad-Din Qutuz held an influential position. Soon after al-Mansur Ali's ascendancy rumors of another conspiracy to which an-Nasir Yusuf had an alleged connection emerged. The accused conspirator, al-Mansur Ali's vizier, Sharaf ad-Din al-Fa'izi, was strangled by Egyptian authorities. The Bahri Mamluks in Syria led by Baibars pressured an-Nasir Yusuf to intervene by invading Egypt, but he would not act, fearing the Bahri dynasty would usurp his throne if they gained Egypt.

Karak asserts independence

Ayyubid territories in 1257. Area in bright red controlled by an-Nasir Yusuf, while the area under dark red was under the nominal control of al-Mughith Umar of Kerak

Relations between an-Nasir Yusuf and the Bahri Mamluks grew tense after the former refused to invade Egypt. In October 1257, Baibars and his fellow Mamluks left Damascus or were expelled from the city and together they moved south to Jerusalem. When the governor Kutuk refused to aid them against an-Nasir Yusuf, Baibars deposed him and had al-Mugith Umar, the emir of Karak, pronounced in the khutba at the al-Aqsa Mosque; over the years, al-Mugith Umar had allowed the political dissidents of Cairo and Damascus, who sought protection from either the Mamluk and Ayyubid authorities, a safe haven within his territory.[76]

Soon after gaining Jerusalem, Baibars conquered Gaza and an-Nasir Yusuf sent his army to Nablus in response. A battle ensued and the Mamluks ultimately fled across the Jordan River to the Balqa area. From there they reached Zughar at the southern tip of the Dead Sea where they sent their submission to Karak. Al-Mughith Umar's new relationship with Baibars solidified his independence from an-Nasir Yusuf's Syria. To ensure his independence, al-Mughith Umar began to distribute the territories of Palestine and Transjordan among the Bahri Mamluks.[76] The new allies assembled a small army and headed for Egypt. In spite of initial gains in Palestine and al-Arish, they withdrew after seeing how overwhelmingly outnumbered they were by the Egyptian army. Al-Mughith Umar and Baibars were not discouraged, however, and launched an army 1,500 regular cavalry to Sinai at the beginning of 1258, but again were defeated by the Mamluks of Egypt.[77]

Mongol invasion and fall of the empire

The Mongol conquest of Ayyubid Syria

The Ayyubids had been under the nominal sovereignty of the Mongol Empire after a Mongol force targeted Ayyubid territories in Anatolia in 1244. An-Nasir Yusuf sent an embassy to the Mongol capital Karakorum in 1250, shortly after assuming power. These understandings did not last, however, and the Mongol Great Khan, Möngke, issued a directive to his brother Hulagu to extend the realms of the empire to the Nile River. The latter raised an army of 120,000 and in 1258, sacked Baghdad and slaughtered its inhabitants, including Caliph al-Musta'sim and most of his family after the Ayyubids failed to assemble an army to protect the city.[78] That same year the Ayyubids lost Diyar Bakr to the Mongols.[79]

An-Nasir Yusuf sent a delegation to Hulagu afterward, repeating his protestations to submission. Hulagu refused to accept the terms and so an-Nasir Yusuf called on Cairo for aid. This plea coincided with a successful coup by the Cairo-based Mamluks against the remaining symbolic Ayyubid leadership in Egypt, with strongman Qutuz officially taking power. Meanwhile, an Ayyubid army was assembled at Birzeh, just north of Damascus to defend the city against the Mongols who were now marching towards northern Syria. Aleppo was soon besieged within a week and in January 1260 it fell to the Mongols. The Great Mosque and the Citadel of Aleppo were razed and most of the inhabitants were killed or sold into slavery.[80] The destruction of Aleppo caused panic in Muslim Syria; The Ayyubid emir of Homs, al-Ashraf Musa, offered to ally with Mongols at the approach of their army and was allowed to continue governance of the city by Hulagu. Hama also capitulated without resisting, but did not join forces with the Mongols.[81] An-Nasir Yusuf opted to flee Damascus to seek protection in Gaza.[80]

Hulagu departed for Karakorum and left Kitbuqa, a Nestorian Christian general, to continue the Mongol conquest. Damascus capitulated after the arrival of the Mongol army, but was not sacked like other captured Muslim cities. However, from Gaza, an-Nasir Yusuf managed to rally the small garrison he left in the Citadel of Damascus to rebel against the Mongol occupation. The Mongols retaliated by launching a massive artillery assault on the citadel and when it became apparent that an-Nasir Yusuf was unable to relieve the city with a newly assembled army, the garrison surrendered.[80]

The Mongols proceeded by conquering Samaria, killing most of the Ayyubid garrison in Nablus, and then advanced south, as far as Gaza, unhindered. An-Nasir Yusuf was soon captured by the Mongols and used to persuade the garrison at Ajlun to capitulate. Afterward, the junior Ayyubid governor of Banyas allied with the Mongols,[81] who had now gained control of most of Syria and al-Jazira, effectively ending Ayyubid power in the region. On 3 September 1260, the Egypt-based Mamluk army led by Qutuz and Baibars challenged Mongol authority and decisively defeated their forces in the Battle of Ain Jalut, outside of Zir'in in the Jezreel Valley. Five days later, the Mamluks took Damascus and within a month, most of Syria was in Bahri Mamluk hands.[80] Meanwhile, an-Nasir Yusuf was killed in captivity.[82]

Remnants of the dynasty

Many of the Ayyubid emirs of Syria were discredited by Qutuz for collaborating with the Mongols, but since al-Ashraf Musa defected and fought alongside the Mamluks at Ain Jalut, he was allowed to continue his rule over Homs. Al-Mansur of Hama had fought alongside the Mamluks from the start of their conquest and because of this,[82] Hama continued to be ruled by the Ayyubid descendants of al-Muzaffar Umar. After al-Ashraf Musa's death in 1262, the new Mamluk sultan, Baibars, annexed Homs. The next year, al-Mughith Umar was tricked into surrendering Karak to Baibars and was executed soon after for having previously sided with the Mongols.[82]

The last Ayyubid ruler of Hama died in 1299 and Hama briefly passed through direct Mamluk suzerainty. However, in 1310, under the patronage of the Mamluk sultan al-Nasir Muhammad, Hama was restored to the Ayyubids under the well-known geographer and author Abu al-Fida. The latter died in 1331 and was succeeded by his son al-Afdal Muhammad, who eventually lost the favor of his Mamluk overlords. He was removed from his post in 1341 and Hama was formally placed under Mamluk rule.[83]

In southeastern Anatolia, the Ayyubids continued to rule the principality of Hisn Kayfa and managed to remain an autonomous entity, independent of the Mongol Ilkhanate, which ruled northern Mesopotamia until the 1330s. After the breakup of the Ilkhanate, their former vassals in the area, the Artuqids, waged war against the Ayyubids of Hisn Kayfa in 1334, but were decisively defeated, with the Ayyubids gaining the Artuqids' possessions on the left bank of the Tigris River.[84] In the 14th century, the Ayyubids rebuilt the castle of Hisn Kayfa which served as their stronghold. The Ayyubids of Hisn Kayfa were vassals of the Mamluks and later the Dulkadirids until being supplanted by the Ottoman Empire in the early 16th century.[85]