Abbasid Dynasty Minor 648 AH (1250 CE)

Establishment of the Mamluk Sultanate

قيام دولة المماليك

Cairo, Egypt

# The Mamluk Sultanate: The Slave Soldiers Who Saved Islam

The Paradox of the Mamluks

History rarely produces ironies as sharp as the Mamluk Sultanate. A dynasty of military slaves — purchased as children, trained as warriors, nominally owned — became the defenders of Islamic civilization at its most desperate hour. When the Mongols had destroyed Baghdad, killed the Abbasid Caliph, and seemed poised to sweep the entire Islamic world, it was the Mamluks who stopped them. When the Crusaders still clung to coastal fortresses after a century of warfare, it was the Mamluks who expelled them. When scholars needed patronage and institutional support during an age of catastrophe, the Mamluks provided it.

The establishment of the Mamluk Sultanate in Egypt in 648 AH (1250 CE) was not a planned event but an opportunistic seizure of power at a moment of dynastic weakness. That this seizure of power would preserve Islamic civilization for 267 years is among the more remarkable providential turns in Muslim history.

What "Mamluk" Means

The Arabic word mamluk means literally "owned" or "that which is possessed." A Mamluk was a military slave: a boy, typically of Turkic, Circassian, Georgian, or Kipchak Steppe origin, purchased from his family (sometimes sold by impoverished parents, sometimes captured in raids on the steppe frontier). He was brought into the household of a ruler or powerful lord, converted to Islam if not already Muslim, trained intensively in military arts — horsemanship, archery, swordsmanship, military tactics — and educated at least minimally in Arabic and Islamic studies.

Upon completing his training and reaching adulthood, he was freed. This manumission was crucial: the Mamluk was no longer a slave but a free Muslim soldier, bound by personal loyalty and shared military identity to his former master and fellow trainees (called khushdashiyya — "those who shared the same trough"). This loyalty network formed the basis of Mamluk political organization.

The system was paradoxical in Islamic legal terms: slavery is permitted in Islamic law under specific conditions, and the purchase and training of slave soldiers was a practice with precedent in Abbasid history. But the Quran and hadith consistently encourage the freeing of slaves as an act of enormous spiritual merit. The Mamluk system institutionalized purchase followed by freedom — a system that, while it began in legal slavery, ended in free Muslim warriorhood.

The Ayyubid Background

The Ayyubid dynasty, founded by Saladin (d. 589 AH / 1193 CE), had relied heavily on Mamluk regiments as elite shock troops. By the mid-7th century AH, the Mamluks — particularly the Bahri Mamluks (named after the bahr, the Nile, near whose barracks they were stationed) acquired by Sultan al-Salih Ayyub — had become the real military power behind the Ayyubid throne.

When the Seventh Crusade under Louis IX of France landed in Egypt (647 AH / 1249 CE) and captured Damietta, it was the Bahri Mamluks under Baybars ibn Abd Allah al-Bunduqdari and Qutuz who led the military response. Sultan al-Salih Ayyub died during the campaign; his son Turanshah arrived from Syria to take command but proved incompetent and quickly alienated the Mamluk officers. When Turanshah was assassinated by Mamluk commanders (including Baybars) in 648 AH (May 1250 CE), the Ayyubid dynasty in Egypt effectively ended.

The transition was not clean — there was a brief attempt to maintain Ayyubid figureheads — but power rested with the Mamluk commanders from 648 AH onward. The first recognized Mamluk Sultan is typically Aybak (648-655 AH), who married Shajar al-Durr (the widow of al-Salih Ayyub, who had briefly held power herself), consolidating Mamluk rule.

The Darkest Hour: 656 AH

The Mamluk Sultanate was barely established when the greatest crisis in Islamic history arrived. In 656 AH (February 1258 CE), the Mongol army of Hulagu Khan destroyed Baghdad, killed the Abbasid Caliph al-Musta'sim, and ended 524 years of Abbasid rule. The psychological impact across the Islamic world cannot be overstated — Baghdad was the City of Peace, the seat of the caliphate, the center of Islamic civilization for half a millennium. Its destruction seemed like the end of an era, perhaps the beginning of the end of Islam itself.

Syria was next. The Mongols swept through Aleppo and Damascus. The Ayyubid princes of Syria submitted or fled. It appeared that Egypt — and with it the last major independent Islamic power — would fall next.

The Mamluk Sultan Qutuz (who had seized power from Aybak's son in 657 AH) made the decision to resist rather than submit. He assembled his forces and marched into Syria to confront the Mongols. Baybars, who had briefly fled to Syria after quarreling with Qutuz, returned and joined the campaign.

Ain Jalut: The Turning Point of Islamic History

The Battle of Ain Jalut (Eye of Goliath — a spring in the Jezreel Valley of Palestine) took place on 25 Ramadan 658 AH (September 3, 1260 CE). It was the first major defeat of a Mongol army — a force that had seemed invincible for four decades since Genghis Khan's campaigns.

The Mamluk strategy was sophisticated. Baybars led the advance guard with orders to engage the Mongol force under the Nestorian Christian commander Kitbuqa, then execute a feigned retreat — drawing the Mongols into a prepared ambush in the hills surrounding the valley. The maneuver required extraordinary discipline from soldiers who understood they were retreating, not fleeing.

The trap worked. Qutuz and the main Mamluk army emerged from the hills to strike the pursuing Mongols from multiple directions. The Mongol force was surrounded and destroyed. Kitbuqa was captured and executed. Qutuz reportedly rode through the battlefield shouting "O Islam!" (wa islamah) — recognizing that this was not merely a military victory but a civilizational one.

The Mongol advance into the Islamic heartland was stopped permanently. They never again penetrated into Egypt or deep into Syria as a conquering force.

Baybars: Architect of Mamluk Power

Qutuz was assassinated on the return march from Ain Jalut (658 AH), likely by Baybars himself as part of a power struggle. Baybars became Sultan (658-676 AH) and proved to be among the most capable rulers in Islamic history.

His achievements were remarkable in scope: he reorganized the state administration, created a postal relay system (barid) connecting Egypt and Syria, brought surviving members of the Abbasid family from Baghdad to Cairo and established a shadow Abbasid Caliphate (659 AH) — the Caliph al-Mustansir II was recognized and the line continued ceremonially under Mamluk protection for another 267 years. This was significant for Islamic legitimacy: the institution of the caliphate, even in its diminished form, provided a framework for Islamic political life.

Against the Crusaders, Baybars was relentless: he captured Caesarea (663 AH), Arsuf (663 AH), Safed (664 AH), Jaffa (666 AH), and the Krak des Chevaliers (669 AH), the great Crusader fortress that had seemed impregnable. He also defeated Mongol incursions into Syria on several occasions.

Against the Mongols, Baybars developed a sophisticated policy: alliance with the Muslim Mongols of the Golden Horde (Berke Khan had converted to Islam) against the pagan and Christian-allied Ilkhanate, exploiting Mongol internal divisions.

The Age of Scholarship Under the Mamluks

The Mamluk period was one of extraordinary scholarly productivity in Islamic history. With Baghdad destroyed and scholars fleeing eastward (to India) and westward (to Egypt and the Maghreb), Cairo became the intellectual capital of the Islamic world.

Among the scholars who lived and worked under Mamluk patronage or in Mamluk-controlled territory:

Imam al-Nawawi (631-676 AH): The great Shafi'i scholar whose works — Riyadh al-Salihin, the Arba'in, Rawdat al-Talibin, Minhaj al-Talibin — have been used in every mosque and madrasa for eight centuries.

Ibn Taymiyyah (661-728 AH): The great Hanbali-Athari scholar who issued the fatwa declaring jihad against the nominally-Muslim Mongols, physically fought at the Battle of Shaqhab (702 AH), and whose theological works define the Athari tradition to this day.

Ibn Kathir (700-774 AH): The historian and Quran commentator whose Tafsir is the most widely read Arabic Quran commentary today and whose al-Bidaya wan-Nihaya remains an indispensable historical source.

Ibn Hajar al-Asqalani (773-852 AH): The greatest hadith scholar of the Mamluk era and perhaps of all Islamic history, whose Fath al-Bari (commentary on Sahih al-Bukhari) remains the standard reference.

al-Suyuti (849-911 AH): The extraordinarily prolific scholar of the late Mamluk period, working across virtually every Islamic science.

The Architecture of Faith

The Mamluks built on a monumental scale. Cairo under Mamluk rule became one of the great cities of the medieval world. The mosques, madrasas, and khanqahs (Sufi lodges) they constructed were not merely symbols of power but functional institutions of Islamic learning and worship.

The mosque-madrasa of Sultan Qalawun (683 AH / 1284 CE), the madrasa of Sultan Hasan (757 AH / 1356 CE — among the largest medieval buildings on earth), the al-Muayyad mosque — these structures survive today as testament to Mamluk patronage of Islamic civilization.

The End of the Mamluk Sultanate

The Mamluk Sultanate endured until 923 AH (1517 CE), when the Ottoman Sultan Selim I defeated the Mamluk Sultan Qansuh al-Ghawri at the Battle of Marj Dabiq (922 AH) and subsequently executed the last Mamluk Sultan Tuman Bay. The Ottomans absorbed Egypt and Syria into their empire.

But the Mamluk legacy persisted: the Ottomans maintained Mamluk administrative personnel in Egypt for decades; the Abbasid Caliph in Cairo symbolically transferred legitimacy to the Ottoman Sultan; Mamluk architectural forms influenced Ottoman mosque design. The slave-soldier system was itself adopted and refined by the Ottomans as the Janissary corps.

The Mamluk Sultanate stands as one of the most consequential political institutions in Islamic history: a dynasty of freed slaves who preserved Islamic civilization during its most desperate crisis, defeated the Mongol advance that had destroyed the eastern Islamic world, expelled the Crusaders from the Levant, and created conditions under which Islamic scholarship could flourish through one of its most productive periods.

Sources:

  • Ibn Khaldun, al-Muqaddimah (The Prolegomena — on military dynasties)
  • al-Maqrizi, al-Suluk li-Ma'rifat Duwal al-Muluk
  • Ibn Taghribirdi, al-Nujum al-Zahira fi Muluk Misr wal-Qahira
  • al-Yunini, Dhayl Mir'at al-Zaman
  • P.M. Holt, The Age of the Crusades: The Near East from the Eleventh Century to 1517
  • Robert Irwin, The Middle East in the Middle Ages: The Early Mamluk Sultanate 1250-1382
  • David Ayalon, Studies on the Mamluks of Egypt
  • Quran 2:155-157

For the Prophetic era, see the Seerah timeline .