quality:corruption, information:highlighting, structural:scholar_edition, stylistic:tone
The Mamluk Sultanate, also known as Mamluk Egypt or the Mamluk Empire, was a state that ruled Egypt, the Levant and the Hejaz from the mid-13th to early 16th centuries. It was ruled by a military caste of mamluks headed by a sultan. The sultanate was established with the overthrow of the Ayyubid dynasty in Egypt in 1250 and was conquered by the Ottoman Empire in 1517. Mamluk history is generally divided into the Turkic or Bahri period (1250–1382) and the Circassian or Burji period (1382–1517), called after the predominant ethnicity or corps of the ruling Mamluks during these respective eras. The first rulers of the sultanate hailed from the mamluk regiments of the Ayyubid sultan as-Salih Ayyub (r. 1240–1249), usurping power from his successor in 1250. The Mamluks under Sultan Qutuz and Baybars routed the Mongols in 1260, halting their southward expansion. They then conquered or gained suzerainty over the Ayyubids' Syrian principalities. By the end of the 13th century, through the efforts of sultans Baybars, Qalawun (r. 1279–1290) and al-Ashraf Khalil (r. 1290–1293), they conquered the Crusader states, expanded into Makuria (Nubia), Cyrenaica, the Hejaz, and southern Anatolia. The sultanate then experienced a long period of stability and prosperity during the third reign of al-Nasir Muhammad, before giving way to the internal strife characterizing the succession of his sons, when real power was held by senior emirs. One such emir, Barquq, overthrew the sultan in 1382 and again in 1390, inaugurating Burji rule. Mamluk authority across the empire eroded under his successors due to foreign invasions, tribal rebellions, and natural disasters, and the state entered into a long period of financial distress. Under Sultan Barsbay major efforts were taken to replenish the treasury, particularly monopolization of trade with Europe and tax expeditions into the countryside.