page_title: Egypt in the Middle Ages
section_title: Ayyubid period
hierarchical_section_title: Egypt in the Middle Ages / Ayyubid period
caption_attribution_description: English: Ayyubid dynasty (1171-1246) Green: crusaders. Red: Ayyubid Dynasty.
context_page_description: Following the Islamic conquest in 639, Lower Egypt was ruled at first by governors acting in the name of the Rashidun Caliphs and then the Ummayad Caliphs in Damascus, but in 747 the Ummayads were overthrown. Throughout the Islamic rule, Askar was named the capital and housed the ruling administration. The conquest led to two separate provinces all under one ruler: Upper and Lower Egypt. These two very distinct regions would be heavily governed by the military and followed the demands handed down by the governor of Egypt and imposed by the heads of their communities.
  Egypt was ruled by various dynasties from the start of Islamic control in 639 until the end of it in the early 16th century. The Umayyad period lasted from 658 until 750. Next came the Abbasid period which focused on taxes and centralizing power. In 868 the Tulunids, ruled by Ahmad ibn Tulun, expanded Egypt's territory into the Levant. He would rule until his death in 884. After years of turmoil under Ahmad ibn Tulun's successor, many citizens defected back to the Abbasids and in 904 they would reclaim power from the Tulunids. In 969 Egypt came under the control of the Western caliphate and the Fatimids.
context_section_description: Saladin, a general known as "the Lion", was confirmed as Nureddin's deputy in Egypt, and on the death of Nureddin on April 12, 1174 he took the title sultan. During his reign Damascus, rather than Cairo, was the major city of the empire. Nevertheless, he fortified Cairo, which became the political centre of Egypt. It was in 1183 that Saladin's rule over Egypt and North Syria was consolidated. Much of Saladin's time was spent in Syria, where he fought the Crusader States, and Egypt was largely governed by his deputy Karaksh.
  Saladin's son Othman succeeded him in Egypt in 1193. He allied with his uncle (Saladin's brother) Al-Adil I against Saladin's other sons, and after the wars that followed, Al-Adil took power in 1200. He died in 1218 during the siege of Damietta in the Fifth Crusade, and was succeeded by Al-Kamil, who lost Damietta to the Crusaders in 1219. However, he defeated their advance to Cairo by flooding the Nile, and they were forced to evacuate Egypt in 1221. Al-Kamil was later forced to give up various cities in Palestina and Syria to Frederick II, Holy Roman Emperor during the Sixth Crusade, in order to gain his help against Damascus.
  Najm al-Din became sultan in 1240. His reign saw the recapture of Jerusalem in 1244, and the introduction of a larger force of Mameluks into the army. Much of his time was spent in campaigns in Syria, where he allied with the Khwarezmians against the Crusaders and Ayyubids. In 1249 he faced an invasion by Louis IX of France (the Seventh Crusade), and Damietta was lost again. Najm al-Din died soon after this, but his son Turanshah defeated Louis and expelled the Crusaders from Egypt. Turanshah was soon overthrown by the Mameluks, who had become the "kingmakers" since their arrival and now wanted full power for themselves.
caption: The Ayyubid Empire at its greatest extent
exif: {}