The Mameluk sultans were drawn from the enfranchized slaves who formed the court and officered the arm. The sultans were unable to effectively form a new dynasty, usually leaving behind infants who were then overthrown. The first of these was Aybak, who married Shajar al-Durr (the widow of al-Salih Ayyub) and quickly began a war with Syria. He was assassinated in 1257 and was succeeded by Qutuz, who faced a growing danger from the Mongols. Qutuz defeated the army of Hulagu Khan at the Battle of Ain Jalut in 1260, allowing him to regain all of Syria except Crusader strongholds. On the way back to Egypt after the battle, Qutuz died and was succeeded by another commander, Baybars, who assumed the Sultanate and ruled from 1260 to 1277. In 1291 al-Ashraf Khalil captured Acre, the last of the crusader cities.
The Bahris greatly enhanced the power and prestige of Egypt, building Cairo from a small town into one of the foremost cities in the world. Due to the sacking of Baghdad by the Mongols, Cairo became the central city of the Islamic world. The Mamluks built much of the earliest remaining architecture of Cairo, including many mosques built out of stone using long, imposing lines.
Since 1347 the Egyptian population, economy, and political system experienced significant destruction as a result of the Black Death pandemic whose waves continued to destroy Egypt up to the early 16th century.
In 1377 a revolt in Syria spread to Egypt, and the government was taken over by the Circassians Berekeh and Barkuk. Barkuk was proclaimed sultan in 1382, ending the Bahri dynasty. He was expelled in 1389, but recaptured Cairo in 1390, setting up the Burji dynasty.
|