Historical Background: From Crisis to Revival

By the 12th century, parts of the Muslim world were in turmoil. The Crusaders had captured Jerusalem in 1099, establishing Crusader states in the heart of the Levant. This was a time of pain and division, many Muslim regions were fragmented under different rulers. Ordinary Muslims cried out for relief as they heard of massacres and oppression under the Crusaders. The Quran describes situations like this, where the oppressed pray for help:

"And what is [the matter] with you that you fight not in the cause of Allah and [for] the oppressed among men, women, and children who say, 'Our Lord, take us out of this city of oppressive people and appoint for us from Yourself a protector...'?" (Quran 4:75)

Muslims longed for a leader who would answer this call. In the mid-1100s, the answer came in the form of Salahuddin Yusuf ibn Ayyub, known in the West as Saladin. He rose to prominence during a period of Sunni revival and unity. Salahuddin's very name, Salah ad-Din, means "Righteousness of the Faith," and he indeed lived up to it. Under his leadership and that of his successors, the Muslim world experienced a revival that reintegrated Egypt and the Levant into a united front against invaders. This was the dawn of the Ayyubid era, named after Salahuddin's father Ayyub (a name that echoes the Prophet Ayyub (Job) symbolizing patience and faith).

Only a few decades later, a new storm appeared from the East: the Mongols, who devastated Central and West Asia. In 1258 they sacked Baghdad and ended the Abbasid Caliphate, killing tens of thousands and burning libraries. It seemed like no power could stop them. But once again, in the darkest hour, the Muslim Ummah produced heroes, this time, the Mamluks of Egypt rose up to halt the Mongol advance. Their era would extend for over 250 years, preserving Islamic civilization when it was almost extinguished.

Both the Ayyubids and Mamluks demonstrated that when Muslims adhere to Islamic principles of unity, courage, and justice, even the mightiest foes can be overcome by the will of Allah. As the Quran promises:

"If Allah helps you, none can overcome you; but if He forsakes you, who is there that can help you? In Allah let the believers put their trust." (Quran 3:160)

The Ayyubid Era: Revival under Salahuddin

Salahuddin (Saladin) and the Founding of the Ayyubid Dynasty

Salahuddin (Saladin) is one of the most celebrated heroes in Islamic history. Born in Tikrit (Iraq) in 1137, he grew up at a time of Crusader occupation in Palestine and Fatimid rule in Egypt. The Fatimid government in Egypt followed the Ismaili Shi'a sect and had become weak and isolated. Salahuddin, a Sunni Muslim of Kurdish background, entered the scene as a young military commander serving Nur al-Din Zengi, the ruler of Syria. Salahuddin was known for his piety, humility, and intelligence from a young age. It is said he loved listening to Quran recitation and generously supported scholars, qualities that endeared him to the people . His rise to power was not just by the sword, but by winning hearts through justice and faith.

In 1169, Salahuddin became vizier of Egypt. After the death of the Fatimid caliph al-Adid in 1171, he ended the Fatimid caliphate by having the Friday khutbah proclaimed in the name of the Abbasid caliph in Baghdad and by reorienting Egypt's institutions toward Sunni Islam. This was a major turning point: Egypt, ruled for about two centuries by an Ismaili Shi'a dynasty, was now politically and religiously tied again to the wider Sunni Abbasid order. The transition was not simply effortless or universally welcomed; many Egyptians were not Ismaili Fatimids, but Fatimid officials, palace troops, and beneficiaries of the old da'wah network resisted at times, and Salahuddin gradually replaced Fatimid institutions with Sunni madrasas, judges, and preaching. With Egypt secured, Salahuddin set his sights on the greater threat: the Crusaders in the Holy Land.

Guided by his deep faith, Salahuddin worked tirelessly to unite Muslim lands. He brought Egypt and Syria under one banner, forging alliances or peacefully absorbing smaller states. His goal was not personal power, it was to defend the Ummah and reclaim Jerusalem, Islam's third holiest city. Muslims regarded this mission as a sacred cause, remembering how Prophet Muhammad (ﷺ) had cherished Jerusalem (home to Al-Aqsa Mosque):

"Glory be to Him Who took His servant by night from the Sacred Mosque to the farthest mosque (al-Masjid al-Aqsa), whose surroundings We have blessed, to show him of Our signs." (Quran 17:1)

Jerusalem (Al-Quds) is blessed in Islamic belief, and freeing it from oppression was a matter of faith. Before facing the Crusaders, Salahuddin strengthened his bases: he built up a strong army rooted in Islamic discipline and values. Biographers describe Salahuddin as attentive to prayer, public morality, and discipline in his army, reminding soldiers that victory comes from Allah, not numbers alone. The phrase "O Prophet, urge the believers to battle" is from Quran 8:65, not a hadith; it was understood by Muslim leaders as a command to encourage steadfastness when fighting was lawful and necessary. Salahuddin motivated his men with this kind of faith-based resolve while also using careful planning and military strategy. The Prophet Muhammad (ﷺ) also taught that believers must care for each other like one body, an ethic Salahuddin invoked to rally Muslims from various regions under one cause:

"The believers, in their mutual kindness, compassion, and sympathy, are just like one body. When one limb suffers, the whole body responds with wakefulness and fever." (Sahih Muslim)

With unity and trust in Allah, Salahuddin led a jihad (struggle) against the Crusaders. The defining moment was the Battle of Hattin in 1187 near Lake Tiberias. Despite the summer heat and a formidable enemy, Salahuddin's forces (driven by faith) won a resounding victory. They captured the relic of the True Cross from the Crusaders and took many prisoners. News spread across the Muslim world that Allah had given victory. Soon after, Salahuddin's army liberated Jerusalem. This was achieved with minimal bloodshed compared to the First Crusade: civilians were not harmed, churches were respected, and ransoms allowed many to leave safely. Salahuddin's character shone through these events. Even the Crusaders were astonished by his mercy and chivalry. Unlike the Crusader conquest decades earlier (when Jerusalem's streets had run with blood) Salahuddin's entry was compassionate and orderly. His Islamic upbringing taught him the hadith of mercy in warfare, and he put it into practice:

"The Messenger of Allah (ﷺ) forbade the killing of women and children (in war)." (Sahih Muslim)

At Jerusalem, Salahuddin's negotiated surrender prevented a repeat of the mass killing that had accompanied the Crusader conquest in 1099. He granted safe conduct to many civilians, accepted ransoms, and Muslim chroniclers report acts of charity toward some who could not pay, though captivity and ransom remained harsh realities of medieval warfare. Chronicles also mention courteous exchanges with Richard the Lionheart, such as gifts during illness; details like a personal physician should be treated cautiously. His readiness to make truces when they served a just interest also reflects the Quranic ethic: "If they incline to peace, then incline to it [also]" (Quran 8:61). Through these examples, Salahuddin turned even his enemies into admirers. Many Western historians, despite coming from the opposing side, have praised his noble character. This is the beauty of Islam, it nurtured in him qualities of generosity, honesty, and forgiveness that even those of other faiths respected.

After Jerusalem's liberation, the Crusaders launched the Third Crusade under Richard Lionheart. Intense battles followed, but Salahuddin stood firm and the Crusaders failed to retake Jerusalem. They eventually settled for a truce. Salahuddin's devotion to Allah was central in this period. He was often seen making du'a (supplication) and performing extra prayers at night, even during military campaigns . His reliance on Allah reflected the Quranic lesson that victory is ultimately from God:

"Victory comes only from Allah, the Mighty, the Wise." (Quran 3:126)

In 1193, Salahuddin passed away in Damascus. It's said he had so little personal wealth at death that there was not enough to pay for his own funeral, he had given most of his money in charity. This humility and selflessness endeared him to Muslims forever. Sultan Salahuddin's legacy endured: he had established a dynasty (the Ayyubid dynasty, named after his father Ayyub) that continued to rule for decades.

Achievements of the Ayyubid Era

After Salahuddin, the Ayyubid sultans (his brothers, sons, and nephews) maintained a realm that included Egypt, Syria, Palestine, parts of Iraq, Yemen, and the Hejaz. While they sometimes quarreled amongst themselves (dividing territories), they generally upheld the principles Salahuddin had set: defending Islam, promoting justice, and supporting knowledge. Some key achievements of the Ayyubid era include:

  • Establishment of Sunni Orthodoxy: The Ayyubids firmly re-established Sunni Islam in Egypt and surrounding lands. They founded madrasas (Islamic colleges) for teaching Quran, Hadith, and the four Sunni legal schools. In Cairo, Salahuddin and his successors built institutions for all four madhhabs (Hanafi, Maliki, Shafi'i, Hanbali) to cater to scholars and students of each school. This inclusive approach strengthened Sunni unity. One famous institution was the Salihiyyah Madrasa, founded by Sultan al-Salih, which was the first in Egypt to teach all four schools under one roof. The Ayyubids' restoration of Sunni scholarship was pivotal in uniting Muslims on religious grounds.

  • Defense against the Crusades: Under later Ayyubid rulers, the Crusader threat was managed through both war and diplomacy. Sultan al-Kamil faced the Fifth Crusade and recovered Damietta through negotiation after the Crusader campaign failed. In 1229, he concluded the Treaty of Jaffa with Frederick II, allowing Christian control over Jerusalem, Bethlehem, and Nazareth for a fixed period while the Haram al-Sharif remained under Muslim religious administration; many Muslims criticized the agreement even though al-Kamil saw it as a strategic truce amid Ayyubid rivalries. Jerusalem returned to Muslim control briefly in 1239 and was taken again decisively in 1244 by Khwarazmian forces allied with the Ayyubids. Despite setbacks, the Ayyubids preserved much of Salahuddin's achievement. They understood that a just and necessary peace can be better than prolonged war, echoing Quran 8:61 when its conditions are met.

  • Protection of the Two Holy Cities: The Ayyubids extended their care to Makkah and Madinah, the heartlands of Islam. They took responsibility for the safety of the Hajj routes and the well-being of the holy cities, which had nominally been under the distant Abbasid caliph. Ayyubid sultans sent funds and gifts to support the inhabitants of the holy cities and maintain the holy mosques. This reflects the amanah (trust) of leadership in Islam - to protect the faith's sanctuaries. The Prophet Muhammad (ﷺ) said: "Each of you is a shepherd and each of you is responsible for his flock. The leader is a shepherd over his people..." (Sahih al-Bukhari). The Ayyubids took this responsibility seriously.

  • Patronage of Knowledge and Culture: The Ayyubid era was marked by a flowering of learning. They sponsored scholars of Quran and Hadith, jurists, poets, scientists, and doctors. Damascus and Cairo became thriving centers of scholarship. Notably, Baha al-Din ibn Shaddad, Salahuddin's biographer and a Shafi'i judge, and the physician-scholar Abd al-Latif al-Baghdadi were active in the Ayyubid milieu. Ibn Jubayr, the famous traveler, visited Salahuddin's Cairo and praised many of its institutions and public order. Al-Nawawi was born in Ayyubid Syria, but his main scholarly life in Damascus unfolded under early Mamluk rule, so he is better viewed as a bridge into the next era. The Ayyubids built hospitals, improved infrastructure, and encouraged trade. Cairo's famed Citadel was begun by Salahuddin, though major phases were completed under later rulers, and it remains an architectural landmark. These contributions show how Islamic governance is not only about warfare - it is also about building a just civilization. The Quran praises establishing prayer, giving charity, and "enjoining good and forbidding wrong"; the best Ayyubid rulers aspired to serve that duty in society.

  • Justice and Prosperity: By adhering to Shariah (Islamic law), Ayyubid rulers aimed to be just, though their record, like that of all dynasties, included both ideals and political failings. Courts were set up with qualified judges from different madhhabs, helping people's disputes be resolved through recognized legal scholarship. There are accounts of Salahuddin appointing qadis (judges) known for honesty. Qadi al-Fadil was not simply a chief judge; despite his honorific title, he was especially famous as Salahuddin's brilliant chancery secretary, administrator, adviser, and literary stylist, and he was widely respected for integrity. When the rulers were just, the people prospered and trusted their leaders. Trade between the Middle East, Africa, and Asia flourished under the stability the Ayyubids provided.

The Ayyubid dynasty's influence eventually waned by the mid-13th century due to internal rivalries. Al-Malik al-Salih Ayyub (son of al-Kamil) died in 1249 during the Seventh Crusade led by Louis IX of France. He was followed briefly by his son Turanshah, who was killed in 1250 after the Crusaders had been defeated; in that turbulent aftermath, effective power in Egypt passed to the very soldiers who had been the backbone of Ayyubid military strength, the Mamluks. While the Ayyubid era came to an end, it set the stage for the Mamluk era, which would achieve even greater fame in defending Islam. The Ayyubids had revived the spirit of jihad and unity, and the Mamluks would carry it forward. As one era transitioned to the next, Muslims were reminded that the struggle in Allah's cause continues, and Allah may replace one group with another better suited for the task (Quran 47:38). Indeed, the mantle of leadership passed to the Mamluks by the will of Allah.

The Mamluk Era: Defenders of Islam

Who Were the Mamluks? From Slave Soldiers to Sultans

In 1250, a new dynasty took charge in Egypt, the Mamluks. The word Mamluk (Arabic: mamluk, مملوك) literally means "one who is owned," i.e., a slave. Paradoxically, these "slave-soldiers" became kings! How did this happen?

The practice of using Mamluks began earlier: the Abbasids and later dynasties, including the Ayyubids, purchased enslaved youths, often from Turkic steppe peoples and later also from the Caucasus, and trained them as elite soldiers. Many were non-Muslim or only loosely connected to Islam when purchased, then received Islamic, military, and courtly education; after training, many were manumitted and attached to powerful military households. They were not ordinary household slaves, but the system still belonged to the historical institution of slavery, which Islamic law regulated while strongly encouraging manumission and humane treatment. Under al-Malik al-Salih Ayyub, the Bahri Mamluks in Egypt became especially influential. When he died and the Crusaders attacked, Mamluk commanders played the decisive role in defending the realm while the Ayyubid royal family was in crisis.

In the year 1250, led by commanders like Aybak and Baybars, the Mamluk forces repelled the Seventh Crusade, capturing King Louis IX of France. Shortly after, the Mamluks seized power in Egypt itself. They supported al-Salih's widow, Shajar al-Durr, to briefly become Sultana, then she married the Mamluk leader Aybak, effectively passing rule to him. Thus the Ayyubid dynasty ended, and the Mamluk Sultanate was born. Although these events involved court intrigue and violence, many people came to accept Mamluk rule because the new regime defeated the Crusaders, restored order, upheld the khutbah and courts, and later sought symbolic Abbasid recognition in Cairo. The hadith, "Whoever is killed while protecting his property is a martyr" (Sahih al-Bukhari and Sahih Muslim), teaches the honor of lawful self-defense, but it should not be used as a direct proof for the legitimacy of a coup. The Mamluks' legitimacy was historical and political as much as religious: it depended on protecting Muslim lands, maintaining public order, and receiving recognition from scholars and power-holders.

The Mamluk Sultanate (1250-1517) ruled Egypt and Syria and exercised varying degrees of authority or patronage over the Hijaz, including Makkah and Madinah. Many leading Mamluks were of Turkic, Kipchak, Mongol/Tatar, or Circassian origin, brought from the Eurasian steppes or the Caucasus. Their rise illustrates real social mobility in a Muslim society, and Quran 49:13 rightly teaches that honor with Allah rests on taqwa, not ethnicity or noble birth. Still, the Mamluk system should not be romanticized as a pure Islamic meritocracy: it was built on military slavery, factional households, and frequent palace coups. Sons of sultans did sometimes inherit, especially in the Qalawunid period, but military factions often replaced them with experienced Mamluk commanders. Skill and discipline mattered, yet so did patronage, factional loyalty, and force.

The Mamluk rulers took on honorific names linking them to Islam, much like the Ayyubids did. Names like Rukn al-Din Baybars ("Pillar of the Faith, Baybars") and Saif al-Din Qutuz ("Sword of the Faith, Qutuz") show how they identified with the religion. They viewed themselves as guardians of Islam, not mere kings. They even revived the Abbasid caliphate in a symbolic form: in 1261, after the Mongols had killed the Abbasid Caliph in Baghdad, the Mamluks invited a surviving Abbasid prince to Cairo and installed him as a ceremonial Caliph. Although this Caliph in Cairo had no real power, he gave religious legitimacy to the Mamluk sultans. It was the Mamluks' way of saying: "We uphold the banner of Islam and its unity."

Within their realm, the Mamluks continued the Sunni tradition of the previous era. They patronized all four Sunni madhhabs. In major cities like Cairo and Damascus, they appointed four chief judges, one from each school (Hanafi, Maliki, Shafi'i, Hanbali), to ensure each community had access to legal guidance . This policy prevented sectarian conflicts and honored the diversity of Sunni jurisprudence. Regular councils of scholars were held, and sultans often took the advice of esteemed ulama (scholars) on governance and jihad. One legendary scholar, Sultan al-'Ulama Izz al-Din ibn Abd al-Salam, is reported in biographical works to have challenged the legal status of certain Mamluk emirs, arguing that if they had been purchased with public funds and not properly manumitted, their transactions and authority required correction. The famous account says they were sold on behalf of the public treasury and then manumitted. Whether every dramatic detail is retold with embellishment or not, the story highlights the ideal that scholars could hold rulers and commanders accountable to Sharia.

Victories and Contributions of the Mamluk Sultanate

The Mamluk era is best known for its military victories that saved the Muslim world. Two enormous threats loomed when the Mamluks took power: the remaining Crusader strongholds on the Mediterranean coast, and the Mongol horde sweeping in from the East. By Allah's grace, the Mamluks vanquished both threats.

Defeat of the Mongols, A Turning Point in History

The Mongols had won extraordinary victories across Asia and the Middle East, though they were not literally undefeated; they had suffered setbacks before, such as the battle of Parwan against Jalal al-Din Khwarazmshah. In 1260, Hulagu's forces captured Aleppo and Damascus, but Hulagu then withdrew much of his main army because of the imperial succession crisis after the death of the Great Khan Mongke, leaving his lieutenant Kitbuqa in Syria and Palestine. Egypt appeared to be the next target, and many Muslims feared further devastation. The new Sultan, Saif al-Din Qutuz, refused to surrender. Mamluk chronicles report that he cried *"Wa Islamah!"* (roughly, "O Islam!" or "Help for Islam!") and that he executed Mongol envoys who had delivered threats. That execution should not be presented as a general Islamic precedent, because the Sunnah protects envoys and messengers; the legitimacy of the campaign rested on repelling aggression. Qutuz gathered a Mamluk army and marched out of Egypt to face the Mongols rather than waiting for destruction to come. This was in Ramadan 658 AH (1260 CE). At a place in Palestine called Ayn Jalut ("Spring of Goliath"), the two armies clashed in a monumental battle.

During the fierce fighting at Ayn Jalut, the Mamluks initially used tactics to lure the Mongols into an ambush. But at one point, the Mongol charge nearly broke the Muslim ranks. At that critical moment, Qutuz took off his helmet so his men could recognize him and shouted "Wa Islamah!" repeatedly, rallying the troops to remember what they were fighting for. This cry ("O Islam!") echoed the sentiment that this battle was for the survival of Islam. The soldiers, despite hunger and exhaustion, gained new courage and fought back ferociously. The Mongol general Kitbuqa was killed on the battlefield. With that, Mongol morale collapsed and they began to retreat. The seemingly invincible Mongol army was routed. The Battle of Ayn Jalut was the first major defeat of the Mongols in the Middle East, and it marked a turning point in world history. Muslims celebrated this as nothing short of a miracle. Many likened it to the Battle of Badr in early Islamic history, a small force of believers defeating a far larger enemy by Allah's help. In fact, Quranic verses about Badr were recited in mosques in gratitude:

"And surely Allah supported you at Badr when you were few in number. So be mindful of Allah that you may be grateful." (Quran 3:123)

The victory at Ayn Jalut saved the heartlands of Islam, Cairo, Makkah, Madinah, and further beyond were all spared from Mongol destruction. Had the Mamluks lost, the Mongols would likely have marched through Egypt and perhaps reached the holy cities. The entire course of Muslim civilization might have been different. Instead, the Mongol advance into Egypt was stopped at that moment. The Ilkhanids invaded Syria again in later decades and even briefly occupied Damascus in 1299-1300, but major Mamluk victories, especially Hims in 1281 and Marj al-Saffar/Shaqhab in 1303, prevented lasting Mongol rule in Syria or Egypt. SubhanAllah (glory be to God), in an amazing twist, within two generations many of the Mongols themselves converted to Islam. The Ilkhanid Mongol ruler of Persia, Ghazan, embraced Islam in 1295, and the Golden Horde Mongols in Russia had converted even earlier. The faith that the Mongols tried to destroy ended up conquering their hearts. This shows the power of Islam's truth, it transformed former enemies into brothers in faith. One could argue this is a miracle in its own right. As the Quran states, truth will prevail over falsehood:

"And say: Truth has come, and falsehood has vanished. Surely falsehood is bound to vanish." (Quran 17:81)

The Mamluk victories were seen as a sign that Allah's support was with those who stood firm for justice. A hadith of Prophet Muhammad (ﷺ) comes to mind: "A group of my Ummah will continue to fight for the command of Allah, dominating their enemies. They will not be harmed by those who oppose them, until the Hour comes while they are upon that." (Sahih Muslim). Many Muslims of that era thought of the Mamluks as that victorious group, steadfast on truth and protecting the Ummah.

Elimination of the Crusader States

After dealing with the Mongols, the Mamluks focused on the lingering Crusader-held cities along the Syrian-Palestinian coast. Unlike earlier Muslim leaders who sometimes made truces, the Mamluk sultans (especially Sultan Baybars and later Sultan Qalawun and Sultan Khalil) decided it was time to end the Crusader presence for good. Sultan Baybars (reign 1260-1277), a brilliant general who had also fought at Ayn Jalut, captured key strongholds such as Caesarea, Antioch, and Krak des Chevaliers. His strategy was swift, relentless, and intended to remove the coastal bases from which new Crusades could be launched. It is important, however, not to portray every campaign as gentle: the fall of Antioch in 1268 was accompanied by large-scale killing and enslavement, and the storming of Acre in 1291 under Sultan al-Ashraf Khalil was also extremely harsh, though some inhabitants escaped by sea and surrender terms were sometimes granted in other towns and castles. Islamic law forbids treachery and the intentional killing of noncombatants, but medieval siege warfare often fell short of that ideal on all sides. With Acre's fall, followed by the loss or evacuation of the remaining mainland Crusader positions, the era of Crusader states in the Holy Land effectively ended. The Mamluks completed the strategic task that Salahuddin had begun, while their record, like that of other medieval powers, must be described honestly: it included courage and defense of Muslim lands, but also severe warfare.

  • Protection of the Muslim Heartland: With both Crusaders and Mongols checked, the Mamluk Sultanate became one of the strongest powers in the Muslim world during the 13th-15th centuries. They took on the duty of patronage over the Two Holy Mosques (Haramain) in Makkah and Madinah. Every year, the Mamluk Sultan sent a grand Hajj caravan with gifts and, in many periods, the kiswa (covering) for the Kaaba. They also supported pilgrimage routes with forts, water facilities, and official escorts when possible. Quran 106:3-4 mentions Allah's blessing of food and security for Quraysh around the House; it is not a technical legal injunction, but it harmonizes with the broader Islamic duty to protect pilgrims and sacred places. The Abbasid Caliph in Cairo would symbolically confirm many new sultans, which kept a thread of continuity in Muslim leadership after the trauma of Baghdad's fall.

  • Robust Governance and Society: Internally, the Mamluks administered a prosperous state. Cairo became fabled for its wealth and grandeur, reputed as the largest city in the Mediterranean world at that time. The Mamluk economy benefited from international trade. They controlled the spice trade routes from India and lands beyond, through the Red Sea and Egypt, into Europe. The sultans accumulated wealth but also invested in endowments (waqf) for public good. They built free schools, lodges for traveling scholars, hospitals, and public fountains. The idea in Islam is that the wealth one spends in the path of Allah continues to reward one's soul (a sadaqah jariyah, ongoing charity). Mamluk elites took this seriously.

  • Splendid Architecture: The Mamluk era is renowned for its architectural legacy, especially in Cairo and Damascus. They built exquisite mosques, madrasas, and khanqahs (centers for spiritual retreat). Mamluk architecture is characterized by intricate stone carving, soaring minarets, and elegant domes. For example, the Mosque-Madrasa of Sultan Hasan in Cairo (built in the 14th century) is an architectural masterpiece that still amazes visitors. It includes schools for each of the four madhhabs in one complex, symbolizing the unity of Sunni jurisprudence. The Mamluk sultans often vied with each other in constructing the most beautiful public buildings as a way of earning good repute and blessings. Even today, Cairo's historic skyline - crowded with Mamluk-era minarets - stands as a reminder of this golden age of art and devotion. Decorated Qurans, calligraphy, glass lamps, and metalwork from the Mamluk period are treasured in museums around the world, showing the cultural heights achieved.

  • Support for Scholarship: Just as with the Ayyubids, the Mamluks greatly supported Islamic scholarship through madrasas, libraries, stipends, and waqf endowments. Some of the most celebrated Sunni scholars lived under Mamluk rule, including Ibn Taymiyyah, Ibn Kathir, Al-Dhahabi, Ibn al-Nafis, and Ibn Hajar al-Asqalani. This was not always simple "patronage": scholars could be honored by rulers, but they could also challenge them, and Ibn Taymiyyah, for example, was imprisoned more than once by Mamluk authorities. Ibn al-Nafis, a 13th-century physician who worked in Damascus and Cairo, described the pulmonary circulation of blood centuries before it became known in early modern Europe - a testament to the scientific activity of the time, without needing to exaggerate it. Ibn Khaldun moved to Cairo in the 14th century and served as a Maliki judge and teacher under Mamluk rule, but he had already composed the core of his Muqaddimah in North Africa before coming to Egypt; in Cairo he taught, judged, and revised his writings. The four madhhab legal system meant scholars of different schools often worked side by side. This rich scholarly environment helped preserve and expand Islamic knowledge. The hadith says, "Whoever travels a path in search of knowledge, Allah will make easy for him a path to Paradise" (Sahih Muslim). Mamluk institutions helped many students travel that path through stipends and endowments.

  • Justice and Social Welfare: A hallmark of Mamluk administration was the use of Sharia courts, including chief judges for the recognized Sunni schools in major centers. The principle was that even the Sultan was bound by Allah's law, though in practice Mamluk politics also included coercion, heavy taxation, and factional violence. A famous accountability report is connected more accurately with Izz al-Din ibn Abd al-Salam and Sultan Qutuz before Ayn Jalut: when extraordinary taxation was proposed for defense, the scholar is reported to have insisted that rulers and military elites first contribute their own surplus wealth before imposing burdens on the public. Sunni jurists allowed exceptional levies only under genuine necessity and public interest, not as arbitrary oppression. Mamluk cities also had extensive waqf charitable networks - schools, hospitals, water fountains, bread distributions, and support for the poor - reflecting the Islamic emphasis on caring for the vulnerable. Prophet Muhammad (PBUH) said: "Whoever relieves the distress of a believer in this world, Allah will relieve his distress on the Day of Judgment" (Sahih Muslim). At their best, Mamluk social services honored this teaching.

In summary, the Mamluk era was one of resilience and renewal. They not only defended the Muslim world militarily but also cultivated a thriving civilization grounded in Islamic values. Under their watch, the central lands of Islam were safe, knowledge bloomed, and justice was upheld (to the human best of ability). The Mamluk sultans carried an immense responsibility and, by and large, fulfilled it in line with the Quran and Sunnah. They had their internal struggles and were not perfect, of course, palace intrigues and politics were ever-present. But remarkably, even those power struggles often ended with the most competent leader emerging, due to the unique meritocratic nature of their system . This kept the state strong until new factors arose. By the early 1500s, the Mamluks faced new challenges: the rise of the Ottoman Turks (a Muslim but rival power) and the discovery of new sea trade routes by the Portuguese which affected their economy. In 1517, the Ottoman Sultan Selim I defeated the last Mamluk Sultan in battle, bringing an end to the Mamluk Sultanate. Yet, the Ottomans deeply respected the legacy of the Ayyubids and Mamluks, and they continued many of their practices (even employing Mamluk elites in local governance).

The Ayyubid and Mamluk eras together span roughly 350 years of history. Through all the ups and downs, one thing is clear: Islam was their guiding light. The piety of Salahuddin, the resolve of Qutuz, the knowledge patronage of Baybars, and the justice of their courts all were reflections of Islamic teachings. It's little wonder that Muslims today look back at those times with admiration and pride. These eras demonstrated what can be achieved when leaders and people alike hold firmly to the rope of Allah (Quran 3:103) and work together.

Quranic Guidance on Struggle, Unity, and Justice

The Quran was the bedrock of inspiration for the Ayyubid and Mamluk heroes. Many verses of the Quran relate directly to fighting oppression, staying unified, and trusting in Allah's help, themes lived out in these eras. Here are some powerful Quranic verses that illuminate these principles:

"Permission [to fight] has been given to those who are being fought, because they were wronged. And indeed, Allah is Most Powerful to help them. [They are] those who have been evicted from their homes without right - only because they say, 'Our Lord is Allah.' ... And were it not that Allah checks the people, some by means of others, there would have been demolished monasteries, churches, synagogues, and mosques in which the name of Allah is much mentioned. And Allah will surely support those who support Him. Indeed, Allah is All-Powerful, Almighty." (Quran 22:39-40). [These verses granted Muslims permission to fight back against injustice and oppression. They remind us that fighting is sometimes necessary to protect all places of worship and that Allah helps those who stand for His cause.]

"O you who believe! If you support (the cause of) Allah, He will support you and plant your feet firmly." (Quran 47:7) *[This verse would have given heart to Muslim fighters like at Hattin or Ayn Jalut - the promise that Allah will make them stand firm if they are fighting for His sake.