Under the Ayyubids, Egypt, which had previously been a formally Shi'a caliphate, became the dominant Sunni political and military force, and the economic and cultural centre of the region, a status that it would retain until it was conquered by the Ottomans in 1517.
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.
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.
[56] 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.
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.
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.
Various explanations for this refusal have been suggest by historians, including the Almohads' focus on al-Andalus, ideological differences between the two Muslim states, and the distrust caused by Qaraqush's invasion of Ifriqiya.
[85] 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,[86] which also included Palestine and much of Mount Lebanon.
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.
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.
[89] 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.
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.
[31] In the east, the Khwarezemids under Jalal ad-Din Mingburnu captured the town of Khilat from al-Ashraf,[94] while the traditionally loyalist Rasulids began to encroach on Ayyubid holdings in Arabia.
[102] 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.
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.
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.
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.
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.
[114] 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 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.
[119] 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.
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.
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.
[121] 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.
One of Saladin's most important supporters was the eunuch Baha ad-Din ibn Shaddad who helped him depose the Fatimids, dispossess their properties, and construct the wall of Cairo's citadel.
[132] Following their conquest of Jerusalem in 1187, the Ayyubids under Saladin may have been the first to establish the position of amir al-hajj (commander of the pilgrimage) to protect the annual Hajj caravans leaving Damascus for Mecca with the appointment of Tughtakin ibn Ayyub to the office.
[136] In addition, Ayyub established new rules both in administration and government in order to centralize his regime; he conferred the most prominent positions of the state to his close confidants, instead of his Ayyubid relatives.
[144] According to Yasser Tabbaa, an anthropologist specializing in medieval Islamic culture, the Ayyubid rulers who reigned in the late 12th-century were far removed from their Kurdish origins, and unlike their Seljuq predecessors and their Mamluk successors, they were firmly "Arabized.
Rivalry between Kurdish and Turkish troops occurred occasionally when leading positions were at stake and towards the end of Ayyubid rule, Turks outnumbered Kurds in the army.
Later, az-Zahir Ghazi extended the eastern wall to the south and east, reflecting his desire to incorporate a dilapidated fortress, Qala'at al-Sharif, outside the city into Aleppo's enclosure.