Chapter 11

Mamluk Egypt

1,250–1,517 CE

Oxymorons

If Manetho could classify the Mamluks, he would consider them the same dynasty as the Ayubids. This is also the way they viewed themselves. They were Sunni Muslim, they called themselves sultans, and they saw defending Egypt and Islam as their duty. However, the Mamluks will gradually diverge from the Ayubids in culture, administration, and identity.

The Mamluks are a study in contradictions. It is very hard to understand what was going on in this period, because it embodied the best and the worst of Egypt. The Mamluks themselves are a contradiction.

Mamluk is an Arabic word that means “owned”. The Mamluks are a caste of slaves. Most were freed or manumitted, some were not. Some were never even slaves but are still called Mamluks. The Mamluks originate in the habit of Muslim rulers raiding outlying communities to capture young men who will become loyal soldiers for the ruler. Mamluks had diverse origins. Most came from central Asia and were thus Turks. Many were brought from the Caucasus, mainly from an ethnicity known as Circassians. All Mamluks adopted Kipchac Turk as a lingua franca for internal communication.

Their association with slavery suggests weakness and subservience, but this misses the context of what slavery meant at the time and place. Most Mamluks, even those in the middle of actual slavery, were extremely powerful. They had authority, ran fiefdoms, collected taxes, and amassed personal wealth. Their slavery or former slavery was there only to guarantee their loyalty to the ruler.

This trend of using foreign indentured soldiers instead of locals started very early in the Abbasid period. The idea is that a foreign soldier has no connections to the local society, and thus will remain loyal only to the central government. This assumption backfired on

everyone who used it for centuries, yet they continued to use it. This is a testament to how short-term goals always trump long term vision.

The contingent of Ayubid Mamluks (meaning Mamluks owned by the Ayubids) who will start the Mamluk sultanate in Egypt numbered in the hundreds. Yet their impact on the country was more fundamental than any other ruler outside of dynastic Egypt.

There are two major misconceptions about the Mamluk sultanate in Egypt. The first is that it was founded through a foreign invasion. The second is that it was the result of a slave revolt. The Mamluks who started the dynasty did not invade Egypt from the outside, they were already in Egypt heading its army. They were not slaves at the time, they were free, wealthy, and powerful. The Mamluk dynasty originates in a coup following a military victory.

Mamluk succession practices were among the worst in human history. They existed in an internal state of constant chaos and intrigue. Yet, their sultanate saw an Egypt that was the most expansive, wealthy, and stable it had ever been. What is more miraculous is that they did this during a period of overwhelming external threats.

While this might surprise many, the Mamluk period is probably the pinnacle of Egypt. Other periods excelled in one area or another, but in the summation of it all, the Mamluk sultanate stands supreme. The borders of Egypt extend more than the New Kingdom’s. Its hold over conquered territories was stronger than any other time in history. Egypt will be the wealthiest it had ever been as the country took control of all international trade. Egypt will become the cultural juggernaut that keeps Islam alive while defining it.

Egypt is successful when three conditions are available: A strong ruler, political stability, and lack of foreign threats. The Mamluk sultanate had none of this. Instead, they curried the favor of the majority of the population and made the culture of Egyptians the culture of the state. The fact that they were foreign freed slaves did not matter to them or to the Egyptians at the time, but it will become a big deal later.

Trees of pearl (1,250-1,257 AD)

There are two ways to view how the Ayubid sultanate ended and shifted into the Mamluk sultanate. The he first is that it was a long and gradual process that involved a lot of complex influences. The second is that it was the conscious and deliberate decision of a single person: queen Shagaret El-Dur.

Her real name is Esmat El-Din (preservation of faith), but everybody knows her by her monicker, which means tree of pearls. Shagaret El-Dur’s story is half reality and half myth.

The courtyard of the madrasa of El-Malik El-Salih, the Salihiyya. Many of the founding figures of the Bahri dynasty were educated here.

It is a convoluted tale of brilliance, betrayal, beauty, and gore. She inaugurates a Mamluk dynasty that will also embody all these contrasts.

El Malik El-Saleh bought Shagaret El-Dur as a young girl. Her origins are not known, but she may be from the Caucasus. She was reportedly very pretty and certainly very sharp, and El-Saleh later made her his chief wife. While she is a key figure in the end of the Ayubid dynasty, but there is another player: the Mamluk caste.

Like most Muslim rulers in the region, El-Saleh used manumitted slave warriors, known as Mamluks to form his personal army. His contingent numbered in the hundreds. He used them to maintain control of Egypt, where things were stable. He was not having as much luck in Syria. His recent unification of Egypt and Syria was challenged by a Syrian Ayubid faction headed by his uncle.

To the east, the Mongols were starting to tear through Islamic kingdoms in the Iranian plateau, but that was still a very distant danger for Egypt. In Syria, Syrian Ayubids and

The interior of the dome of the mausoleum of Shagaret Al-Dur.

Mamluks allied with the crusaders to fight Egypt. El-Saleh felt this was the clear and present danger, and secure in his position in Egypt, left for Syria to lead the war.

Meanwhile trouble was brewing somewhere else. In Europe, a fresh new crusade was gathering steam. The seventh crusade was a serious war effort, the pope of Rome directly recruited for it, and king Louis IX of France would personally lead it on the ground. This crusade was not heading for the holy land, this time there was only one target: Egypt.

It is tempting to think the distraction of El-Saleh in Syria encouraged this decision by the Europeans, but crusades take a very long time to power up. This crusade began before Egypt started fighting in Syria. Europeans understood that invading Jerusalem was not a big deal, they had done it many times. Keeping it was another thing. Time and time again, the crusaders lost Jerusalem to troops coming out of Egypt. They decided that the correct order of doing things was to invade Egypt and then invade Jerusalem.

The seventh crusade caught Egypt by surprise at a time when the sultan was outside the country. The crusaders landed in Damietta, a shocked Ayubid garrison immediately retreated. The population of the city evacuated in panic, fearing a massacre. The crusaders had been defeated near Damietta in earlier crusades, which fueled fears of revenge among civilians. The crusaders had an overwhelming victory in Damietta. They took a well-fortified city and dug in secure positions without losing any troops. This was an unprecedented victory for them in Egypt.

Shagaret El-Dur set up an Egyptian defensive position south of Damietta. At the head of the army were El-Saleh’s Mamluks. The Emirs (commanders) of the Mamluks were two men called Aktay and Baibars. Shagaret El-Dur sent word of the news to El-Saleh in Syria, and he immediately headed back to Egypt. Along the way, he sustained a minor leg injury. By the time he reached the Egyptian position in the Delta, the wound was badly infected, and he died shortly thereafter.

The mausoleum of Shagaret El-Dur, with Salihiyaa in the background.

This was a disaster that could have ended Egypt. El-Saleh’s heir, Turanshah (Shagaret El-Dur’s stepson) was at war in Syria, and news of an empty throne could completely collapse Egyptian morale. Shagaret El-Dur took control with a clear plan. She will hide news of the death of the king till Turanshah could make it back to Egypt to ascend to the throne. Meanwhile, she formed a war council with Baibars and Aktay to keep military pressure on the crusaders.

The two young Mamluks suggested business as usual was not going to work. Business as usual was mercenary armies composed of Turkic and African soldiers fighting the crusaders in open fields. It was time to fan the flames of the general Egyptian population. News of the sack of Damietta was intentionally spread all over Lower Egypt south to Cairo. The story was told in a religious and nationalistic light. The inhumanity of the crusaders towards civilians in the villages they captured was framed and exaggerated.

Tens of thousands of Egyptian volunteers flooded the northeastern delta to fight the crusaders in Damietta. The Mamluks provided them with training and arranged them in irregular units. The crusaders had unintentionally besieged themselves in the heavy fortifications of Damietta while a guerrilla war raged in the countryside.

News of the death of the sultan El-Saleh leaked to the crusaders. This gave them a sudden jolt of morale, and they broke through Egyptian positions south of Damietta. They headed towards the next major city in the delta: El-Mansoura. If Mansoura fell, there was little to stop Cairo from falling.

Egyptian forces surrounding Damietta retreated south. The crusader army, headed by the king of France, chased them. Along the way there was barely any resistance. In fact, locals cooperated with the crusaders. At one point, the crusaders hit a wall when they could not find a way to cross the Damietta branch of the Nile to get to Mansoura. Local peasants led them to an area of shallows where their horses could cross.

Coin minted by Shagaret El-Dur. Hatshepsut used the male title of king, Shagaret El-Dur used the male title of sultan instead of the female title sultana.

Even when they reached Mansoura, there was no resistance. The gates of the city were open, the ramparts unguarded, and the entire city was abandoned. The scenario of Damietta was repeating itself: the Ayubid army retreated, and the population panicked and followed suit.

The crusaders were jubilant and sent word back to Europe of the imminent victory. As soon as the messengers departed; the crusader army entered the city, at which point the gates of the city were sealed. It was an ambush set by Baibars. The Ayubid army, the local militia, and the civilian population of Mansoura had not left. They were hiding in buildings waiting.

The dug-in defenders attacked the crusaders from within and atop buildings. The crusader army was ready for a battle in the open field, but not the close quarter urban melee that ensued. The crusaders sustained major losses, but the bulk of the army, including the king of France, fought its way out of the city and fled north.

Louis IX tried to sue for peace. His terms were safe passage and Jerusalem for the crusaders in return for Damietta going back to Egypt. The offer was immediately rejected. But Louis was not yet desperate. The defeat in Mansoura was a setback, but they still had Damietta. All they had to do was retreat to the city, where they can wait for reinforcements to arrive from Europe.

But the messengers the crusaders had sent outside Mansoura were proceeding towards Europe playing a destructive game of telephone. By the time news of the imminent victory of Mansoura had reached Europe; it became news that Cairo had fallen, and Egypt was restored to christendom. There were no reinforcements on the way from Europe.

Meanwhile, Turanshah arrived in Egypt and took the throne. This gave a significant boost to the morale of the Egyptians. Guerrilla warfare accelerated against the retreating crusaders in the delta, and the crusader fleet off Damietta was destroyed.

The crusader army, retreating in increasing panic and disorder, was eventually surrounded in Fariskur. In the battle of Fariskur, the crusader army was massacred. Thousands of soldiers were killed and the elite battalion of knights templar was eradicated. King Louis IX of France was taken hostage.

The Ayubids, Mamluks, and gaggle of Egyptian militias had ended the crusades. Not the seventh crusade, rather the crusades as a concept. The few upcoming crusades will be mockeries of the earlier ones. There will no longer be direct attempts at Egypt, and their presence in the Levant was on a countdown.

Female rulers in Egypt are very notable, but this is because they are very rare, and often tragic. Nefertiti, Hatshepsut, and Cleopatra are superstars in this field. But outside dynastic Egypt, there is no story more interesting than that of Shagaret El-Dur. Her true story is interesting enough, but a lot of folk history and legend has also grown around it.

After the crusader defeat at Fariskur, Turanshah proceeded to do what every successful ruler since Naarmer needed to do: consolidate power. This is often nasty business, as it involves a lot of “cleaning up”. Turanshah started “getting rid” of Mamluks whose loyalty he suspected. He also tried to replace the court with advisors he trusted.

But he was not doing this in a vacuum. The alliance he struck with Shagaret el-Dur and the Mamluk Emirs stood in his way. Shagaret El-Dur suspected, rightfully, that if she allowed Turanshah to consolidate, she was next for the gallows. She gathered a critical mass of Mamluks on her side, and eventually conspired with Baibars to assassinate Turanshah in the same city where Louis IX was captured: Fariskur. With the murder of Turanshah, the Ayubid dynasty ended.

Saladin felt uncomfortable about the Fatimid administrative capital Cairo. He moved the center of Ayubid power outside the city to the edge of the limestone Red Sea mountains that elbow into the city, an area known as Moqqatam hills. Saladin built a highly fortified citadel on top of the promontory and called it the citadel of the mountain.

A group of elite Mamluks convened in the citadel of the mountain. They “elected” Shagaret El-Dur as sultan. While this sounds progressive for the Middle Ages, there was one string attached. A prominent Mamluk emir, Aybak, had to be her defense minister.

This marked the beginning of the Mamluk sultanate. Like its predecessor, the Mamluk sultanate recognized the Abbasid caliph as a figurehead, but it was otherwise independent. The way Shagaret El-Dur was chosen to ascend to the throne summarizes Mamluk succession practices. The Mamluks had no clear rhyme or reason in how they passed rule. In

many cases, successful Mamluk sultans tried to pass rule to their sons. In a few cases, they were successful, in most cases they were not. Sometimes, a sultan would pick one of his own trusted Mamluks to succeed him. Sometimes this did not work out, sometimes it did. The only constant in Mamluk succession is that it was rife with intrigue and assassinations.

This Darwinian maelstrom contrasts with the success, stability, and wealth that the Mamluks will bring to Egypt. So perhaps there was an internal logic to how the Mamluks passed the throne, it’s just that we do not see it. The Mamluks are divided into two dynasties, but these are dynasties only in the loosest sense of the word. Each includes rulers who form a cultural unity, but neither is a family line.

Shagaret El-Dur was meritorious. She navigated Egypt through an impossible time with a mix of cunning and bravery that no man could muster. But she was a woman. Her first task on the throne was to extract legitimacy for the new dynasty in Egypt. This legitimacy had to come from the Abbasid caliph in Baghdad, but it was contested by the remnants of the Ayubid dynasty in Syria. The Ayubids had a legitimate argument on their side: Shagaret El-Dur had assassinated the true heir of Egypt Turanshah. However, the weapon they chose to use was much simpler: she was a woman. And it worked, the Abbasid caliph in Baghdad would not recognize a female sultan in Egypt.

But this was a stupid path for the Syrian Ayubids to take because Shagaret El-Dur knew how to get things done. She married her commander Aybak and abdicated to him. The sultan of Egypt was no longer a woman.

Aybak and Shagaret El-Dur were now in an unassailable position. They had a great card to play: Louis IX. The king of France was ransomed for a handsome sum and the crusaders retreated in shame. The Abbasids were facing an approaching Mongol tsunami from the east and needed someone strong to back them up. Egypt was now controlled by a man who had beaten back the crusaders and was in control of Jerusalem. Egypt looked a lot better than Syria, and the Abbasids forced the Ayubids to accept Egyptian dominion over Palestine.

The Mamluk sultanate was recognized, secure, and stable. However, the ruling caste of the sultanate will start toxic and end toxic. Shagaret El-Dur wanted to be the de facto ruler of Egypt, with Aybak as a symbolic figurehead. Aybak did not oblige. One faction headed by Baibars backed Shagaret El-Dur. Another faction headed by a Mamluk Emir called Qutuz backed Aybak.

Aybak had a wider legitimacy than his wife. The Baibars faction was heading towards liquidation. However, Baibars was smart, and he could see this coming. He abandoned

The association of the dessert Om Ali with the murder of Shagaret El-Dur is one of many cases in Egyptian history where it barely matters if something is myth or reality. It just has a life of its own.

Shagaret El-Dur and went to Syria with his faction. Aybak was on their tail, and he formed an alliance with the Ayubid Emir of Mosul Nur El-Din to encircle the Baibars Mamluks. To solidify the alliance, Aybak married the daughter of Nur El-Din.

Shagaret El-Dur was an intelligent woman, and she did the only thing she could do at this point: she had her husband assassinated. The Aybak Mamluks headed by Qutuz tried to capture and execute her. However, she still had a good force of loyal Mamluks protecting her. She retreated to a tower in the citadel of the mountain, where she could wait out the rage of Qutuz in safety.

Aybak’s widow was the mother of the heir to the throne: El-Mansour Ali. As was (and is) tradition in Egypt, she acquired the title Umm Ali, or mother of Ali. Umm Ali recognized no man could assassinate the woman who had killed her husband, and no iron sword could slip into the court of Shagaret El-Dur.

So Umm Ali had her co-widow assassinated by women using wooden weapons. Shagaret El-Dur was accosted by maidens of the court, allegedly in her bathhouse. She was overwhelmed and beaten to death with wooden clogs. Her body was tossed on the slope of Moqqatam where it rotted for days before being moved to her mausoleum.

To celebrate her vengeance, Umm Ali decided to distribute a dessert among the population of Cairo. Because she needed to make huge quantities, the dessert had to be simple. She made a hearty but potent bread and milk pudding. This dessert, known simply as Umm Ali is now the national dessert of Egypt.

The horde (1,257-1,260 AD)

Al-Mansour Ali was a child when he ascended to the throne. This was not an unusual situation in Egypt. In fact, the earliest example of someone ascending to the throne at an age where they were too young to rule was in the first dynasty. Someone will rule as a regent

A coin minted by Qutuz.

while the child king grows, giving up authority as soon as the king was of age. This someone could be the child’s mother, an uncle, a vizier, or a council of high officials. If these were normal times, Al-Mansour could have had a council of Mamluks rule as regents as he grew up. But these were not normal times.

Far to the east in Asia, a huge storm had been brewing, and now it was time for Egypt to face it head on. The Mongol Empire was growing at a rapid pace in Asia. It inevitably encountered Muslims, specifically the Khwarazmian Empire, which ruled all of central Asia and the Iranian plateau.

The Khwarazmian king got off on a very wrong foot with the Ghengis Khan, and the Mongols developed an immediate enmity with Muslims. The Khwarazmian Empire was a major center of Islamic art, culture, and science. The reason we barely hear about it today is because the Mongols erased it. They did not just defeat it, they eradicated it. Any city or town that showed the minimum amount of resistance had its entire population executed. Cities that did not resist were sometimes spared, but only sometimes.

Bust of Qutuz in Cairo.

The Mongols eventually reached and laid siege to Baghdad. The Abbasid caliph tried to negotiate a surrender, but the Mongols would not accept. When the Mongols finally entered Baghdad, the destruction of the city took days. The hundreds of thousands who had not escaped were executed. All the books and documents in the great library of Baghdad

were thrown in the river. The Abbasid caliph, Al-Mu’tasim was captured and executed.

There was some logic to the Mongol slaughter, and it had little to do with punishing resistance. Mongol armies depended on highly mobile horse riders. They did not fight using traditional methods of open-field battle. Instead, they used skirmishes to draw enemies into ambushes. Small Mongol contingents could survive off the land or “take” supplies they needed from cities and villages along the way, but they still needed a line of communication with their base in Asia. The Mongol supply line had grown very long, and any city in the middle that posed a tiny risk of rebellion was not worth allowing to survive.

Mongols were also not as numerous as people thought. They used their incredible mobility to create an illusion that they are endless in numbers. Locals saw the same Mongol division within very short intervals across large distances and assumed they were different armies. This created terror, and terror was the Mongol’s primary weapon. Tales of rivers running with blood encouraged many places to surrender without a fight. If the Mongols had met resistance at every city they invaded, they would not have made it to Baghdad.

Modern revisionism paints Mongols as religiously tolerant. The main reason is that they did not force people to convert to one religion or another. But another reason is that their administration included a lot of people from different faiths.

But this is much worse than it sounds. When Mongols entered a city, even some cities which surrendered, they separated the valuable skilled labor and elites from the rest of the population. Useful workers were taken as slaves to work for the Mongol army and “administration”. The remaining population was eradicated or left to fend for itself after the city was razed.

And it is true that the Mongols did not force anyone to convert to any religion. They had little interest what religion people were, but they did have major problems with some religious practices. They were particularly disturbed by Islam and Judaism. The dietary restrictions and specific rituals of the two religions did not make sense to people who came from the frozen steppes of Mongolia.

The Mongols were not areligious. They followed a shamanistic religion well-suited for their environment. But they also had a special relation with Christianity. For centuries, missionary activity had been strong on the borders of China, including Mongolia. The specific sect of Christianity that was spreading in this area is called Nestorian Christianity. This is related to Syriac Christianity from the Middle East. By the time the Mongol tribes were coalescing into an empire, Christianity was almost as important as Shamanism.

Christianity was also an elite religion in Mongolia, meaning that a lot of influential Mongol chiefs, chief wives, and chief’s mothers were Christian.

The Mongols had a very different view of Islam. In addition to being creeped by Islamic dietary and hygiene laws, the western front of the Mongols was all Muslim. After getting done with China, the Mongols had to fight Turks and Persians to the west.

When the Mongol tide started sweeping west, news of this mysterious power from the east spread into the Islamic world and Europe. In the Islamic world, it caused panic. In Europe, it raised hope. The idea that the Mongols were (at least partly) Christian was irresistible. Myths started to develop around Genghis, and for many, he became a Christian king from the east come to deliver Jerusalem from the heathens.

So, by the time the Mongols sacked Baghdad, Armenia and Georgia were already Mongol vassals. Both countries were small Christian kingdoms under constant pressure from Muslims in the south. The crusades were floundering, and the Mongols were the only remaining hope for Christians in the region.

European Christians were not as excited as their Caucasus brethren. The first Mongol forces directed at Europe appeared north of the Caspian. The result of this encounter was disastrous for Europe, and European Christians understood things were about to get serious.

The name of the head of the Mongol army that invaded Persia was Hulago. His commander of the armies in the Middle East was Kitboga, a Christian convert. With Iraq destroyed, the next target was naturally Syria. Syria was still ruled by the Ayubids, particularly an Emir by the name of Al-Nasir Yousef.

Al-Nasir was offered the usual Mongol deal: surrender or die. Baibars, having escaped Egypt after the isolation of Shagaret El-Dur, was in Syria and was witness to these negotiations. Al-Nasir vacillated. He did not immediately raise an army or prepare for war. He did not accept the Mongol offer of surrender either.

The Mongols took this to be a rejection of surrender by Al-Nasir. Baibars took it to be an acceptance of surrender. Baibars abandoned Syria and marched back to Egypt with the (not so accurate) news that the Ayubids had surrendered in the Levant. Meanwhile, the Mongols started attacking Syria.

With the momentous news arriving in Egypt, there was a realization this was not the time to have a child as the head of state. El-Mansour Ali was deposed by Qutuz, his top advisor.

Modern depiction of Qutuz in battle.

Qutuz was crowned Sultan by the Mamluk elite and given only one job: to protect Egypt from the indomitable Mongols.

Qutuz accepted the burden. He claimed to understand that he was crowned only due to the pressing conditions of the historical moment. He made a covenant to all the Mamluks that he would abdicate, ostensibly to El-Mansour as soon as the Mongol war was over.

In Syria, the indecisiveness of El-Nasir was proving disastrous. The Mongols were razing the countryside and El-Nasir panicked and sent his family and wealth to Egypt. When the Mongols reached the largest city in Syria, Aleppo, they killed its entire population. This sparked all out panic. Thousands of people from all over Syria started an exodus south. El-Nasir himself escaped Syria and headed to Egypt, where he was not allowed to enter the country, so he returned to Damascus.

Damascus surrendered to avoid the fate of Baghdad and Aleppo. The city was spared, but El-Nasir was captured and later executed by the Mongols. The Mongols appointed a Christian administration in Syria, probably promoted by the collaboration of Armenians and Georgians.

With Syria secure, the Mongols started to scout into the much smaller Palestine. Palestine was part of the Mamluk sultanate. Attacking Palestine meant the Mongols were attacking Egypt. So, the Mongols sent a standard invitation of surrender to Cairo. This was a critical moment. If Palestine is lost, Islam would lose control of all of Asia. If Egypt fell, there would be no large Islamic power anywhere. But if Qutuz did not surrender, everyone was at risk of dying.

The invitation to surrender was sent with a Mongol embassy to Cairo. Qutuz did not want a discussion of surrender to be opened among the Mamluks. He split the messengers in half down the middle and hung their mutilated corpses from Bab Zuweila in Cairo.

This starts the Mamluk-Mongol war which will extend over decades. This war will end with a spectacular Mamluk victory. The Mongols will not be eradicated at the end of this multi-generational war. Instead, through a persistent campaign of war and diplomacy, the Mamluks will convert the Mongols to Islam.

But this long existential struggle had to begin on the battlefield. Qutuz had to rebuff the inevitable attack by Kitboga. Qutuz realized that Muslim kingdoms in Asia were destroyed because they remained behind their secure walls, waiting for the Mongols to attack. The Mamluks understood that the Mongols could only be defeated on the open field. As soon as Qutuz executed Kitboga’s messengers, he led an army out of Egypt to meet the Mongols in Palestine.

But Mongols had never been beaten in the open field.

As soon as they stepped out of the Sinai, the Mamluks met the Mongols. Baibars led a small army to attack a Mongol division that had already occupied Gaza. The main army continued north. Baibars summarily took care of the Mongol contingent in southern Palestine.

The crusaders were still in control of large parts of the Levant. The Mamluks would not stand a chance fighting the Mongols and the crusaders simultaneously. What was even more dangerous was the prospect of a crusader-Mongol alliance driven by Kitboga’s religion.

Qutuz rode north to Acre, a crusader state. There, he will make the only Mamluk attempt at an alliance with the crusaders. The crusaders in Acre rejected an alliance against the Mongols. However, they vowed not to ally with Mongols and promised to give the Egyptian army safe passage. If the Muslim army is slaughtered, the crusaders can deal with the weakened Mongols. If the Mongols lose, then nothing has changed, crusaders were used to being harassed by Egyptians.

Qutuz and Baibars met the main army of Kitboga in a plain known as Ayn Jalut (Goliath spring) at the foot of the Galilee mountains. The Mamluks led a heterogenous army of Mamluk soldiers and Egyptian and beduin irregulars. The Mongols led a professional army supplemented with Armenian and Georgian divisions.

Baibars had grown up in this part of Palestine and was familiar with the terrain, so he had a plan. The plan was very basic. The Mongols had always drawn people into ambushes. Because they were very unlikely to suspect anyone would try to use their techniques on them, the Mamluks were going to draw the Mongols into an ambush.

Baibars attacked the Mongols on the open plain, usually a very bad idea. However, he did not fully engage and at a predetermined signal, feigned a panicked retreat. This was usually time for the Mongols to chase and route the enemy. The retreating Baibars drew the Mongols into a narrow valley surrounded by well-timbered hills.

Qutuz attacked from the thickets with the main Mamluk force, cutting off the exit of the valley. This put the Mongols in an unusual spot. They were in an ambush, and they were drawn into it using a tactic they always employed. They were not in an open plain where they could use their superior mobility to attack and retreat.

The Mongols fought fiercely but were defeated. Kitboga was captured, bound, and executed. Hulago vowed revenge and tried to punish the population of Syria. It was at this point that he executed El-Nasir. He gathered a huge army and got ready to make an example out of Egypt.

The Mongol Khan in Karakorum died. Mongol tradition stipulated that all chiefs, including Hulago had to return to the Mongol capital to take part in the succession talks. Hulago left behind a small Mongol force to protect their possessions in Syria. The Mamluks used this chance to retake Syria and mop up all Mongol presence in the area.

Qutuz, triumphant, started a long and celebratory march towards Egypt. On the way, he was assassinated by Baibars. This is part of the mystery that is the Mamluks. They are capable of great things, and at the same time they are vicious.

It is debatable why Baibars did this. Some claim that Qutuz refused to abdicate as he had promised, and Baibars was just holding him to his promise. But Baibars would not give the throne back to El-Mansour Ali, so this could not be the reason. With most stories of Mamluks assassinating each other, the safest bet is to assume that the assassin did it so he could gain control. He did it at the time he did it because that was the first time he had a chance. Pure and simple.

Another raging catfish (1,260-1,277 AD)

Baibars came to power by backstabbing his patron. This will not be the last time that Mamluk succession turns out to be a bloody affair. Some argue that what Baibars did introduced accountability to the Mamluk dynasty. Qutuz had promised to abdicate as soon as the Mongols were beaten, and he reneged on his covenant. But if Baibars was just making sure promises were kept, why did he take the throne himself? Shouldn’t he have returned it to the last Ayubid, Al-Mansour Ali? Baibars also tried to start a family dynasty. He tried to pass the throne down to his sons. This goes against the theory that he was ethical in a way that we do not understand.

Baibars time in power was all about consolidating authority. This was mostly about his own glory, but it was also necessary for the survival of Egypt. The neighborhood that Baibars

Intricate glasswork is emblematic of the two Mamluk dynasties.

inherited could not be worse. To the east, the Mongols were still in control of Persia and Iraq and Hulago was guaranteed to seek revenge against Egypt. In Syria and Palestine, the remnants of the crusaders were convinced the time was ripe to attack an Egypt exhausted by the Mongol war. North of Syria, Armenia and Georgia believed that the Mongols were Christian saviors sent to deliver the Middle East from Muslim tyranny and were ready to pounce at the slightest sign of a Mongol attack on Egypt.

But there was a new disastrous ingredient thrown into this brew: the Nubian kingdoms. The area now known as Sudan had always been a curious mystery. When the Arabs first invaded Egypt, they did not push below the second cataract. One explanation for this is that the inhabitants of upper Nubia were fearsome warriors that the Arabs feared. A more likely explanation is that the Arabs wanted North Africa. The gold wealth of Sudan was not yet known, and thus it was not an attractive target.

Nubia converted to Christianity in the Roman period. It continued to be an independent Christian kingdom. Initial contacts between Nubians and Arab armies in Egypt were worrying enough for the Nubians that they had to sign a peace treaty which included Nubia paying tribute every year. In a humiliating gesture, part of the tribute was paid in slaves. News of the Mongols reached Nubia in their distorted “Christian savior” form, and a long embittered Christian kingdom to the south of Egypt started to raid north.

Baibars survived these unlikely odds because he addressed them in the correct order. His priority was to get Egypt in shape. He consolidated his power and introduced administrative reforms. He built a new administration center, a polis, in Roda Island away from the intrigue of the citadel of the mountain. But most critically, he expanded the Egyptian army to a size it had not reached since dynastic Egypt.

His second priority was Syria. Egypt’s hold on the area was tenuous at best. Syria was fragmented between countless princedoms who had complex alliances with each other, with the crusaders, and even with the Mongols. Some of the Emirs at the head of these

Roda Island with Old Cairo to the right and Giza to the left. The southern portion of the island contains a few remaining Mamluk monuments while the center has more recent Alawi structures. Most of the island is a modern district.

princedoms were Ayubid, some were Mamluk, some were even Beduin. Baibars took direct control of every part of Syria. If the local Emir cooperated and pledged unequivocal loyalty to Baibars, they could stay. If they showed reluctance or tried to negotiate, he killed them and installed his own puppets.

Baibars created a new postal system that connected Egypt, Palestine, and Syria. This allowed command and feedback to flow quickly. Rebellions were detected early, and intrigue did not have time to mature. When he felt in complete control of the Levant, he mopped up most of the remaining crusader presence in the region. It did not take a large war; it was a natural process. The crusaders were never going to survive a large, unified Muslim presence in the area. Egypt had become that presence.

Europe tried to save the crusader states by launching one last serious campaign. A new crusade quickly coalesced in Europe. It was supported by the pope and will be led by Louis IX, king of France. The king still remembered his humiliation in Egypt and wanted revenge, so this crusade was again targeted at Egypt. Louis IX had the inexplicable idea to attack Egypt from the west, and not even from Libya, but from Tunisia thousands of kilometers away. Louis and his army landed in a marshy area on the coast of Tunisia, where they were hit by the outbreak of an unidentified diseases. The army was decimated, and the crusade imploded.

A lot of Egyptians think that Ayn-Jalut was the only battle of the Mongol-Mamluk war. Ayn Jalut was the first, but it was not the only battle, and it was not close to the largest. The Mamluk-Mongol war will take decades and there will be at least five major military

campaigns. But the war will not end on the battlefield, it will end with a tool that started as early as Baibars: diplomacy.

The succession that had drawn Hulago back from Egypt was ugly. It ended in the Mongol Empire splitting in two. In the south, Hulago presided over the Ilkhanate. This was the good old Mongols who wanted to destroy Egypt. But the norther half, the golden horde, was led by Berke, and it was a different story altogether.

Berke was surrounded by Turks and Persians, and he ended up converting to Islam. The golden horde will progressively become a Muslim kingdom, but the Mamluks were not going to wait. Baibars sent an embassy to Berke carrying stories of the massacres committed by the Mongols in Khwarazm and Iraq,

It is inconceivable that Berke was hearing about this for the first time, but he was in a bitter war with Hulago, and pretending to be shocked at the “news” gave him a casus belli. He pretended to be particularly incensed at the execution of the Abbasid caliph, and he was going to take vengeance by going to war with Hulago.

This kept Hulago occupied in Asia. He could only muster a small army to direct at Egypt. This army was headed by the son of Kitboga, intent on avenging his father. The Mongol army entered the Levant, and Baibars started marching north. He did not have enough time to make it through Palestine, the Mongol army was so outnumbered, that it disintegrated at the first sign of resistance by local militias in Syria.

But the biggest threat to Egypt was Nubia. In the northern part of upper Nubia, a large Christian kingdom known as Makuria had ruled for centuries. Makuria was probably the cultural inheritor of the ancient kingdom of Kush. Christianity was the defining feature of Makuria. Its language was old Nubian, written in a script adapted from Coptic. Its capital was in Old Dongola, not far from the second cataract.

Makuria had a turbulent relation with Muslim Egypt, mirroring the paranoid relation between Egypt and Kush. To add to the complexity, Makuria saw itself as a defender of Christianity, and perhaps as a guardian of Copts in Egypt. In the Rashidun and Umayyad periods, this did not matter. Makuria was too weak to pose a threat to Egypt. They paid tribute to the governor in Egypt, and the border was mostly calm.

However, during the Abbasid decline, Makurians stopped paying tribute. Makuria witnessed an internal renaissance as a result of taxes being kept internally. As the crusades and Mongol expansion reached their combined zenith, Makuria felt increasingly emboldened. They started raiding into Egypt. This was cautious at first, but then became very daring. Nubians

started invading Egyptian cities and taking back slaves. Eventually, they felt strong enough to invade and destroy Aswan, reaching as far north as Luxor at some point.

Punitive raids against the Nubians became routine in Ayubid Egypt. However, this was not enough by the time Baibars ascended to the throne. Makurians completely cutoff all pilgrimage routes through the Red Sea in Upper Egypt. The final straw came when the Makurians permanently occupied Aswan, marking the first time since the 25th dynasty that a part of Egypt proper was occupied by Nubians.

The Nubians had made a horrible and existential miscalculation. They thought Baibars was too preoccupied with the Mongols and crusaders to mount a large campaign to retake Aswan. But occupying Aswan was a red line for the Mamluks. Baibars headed the entire Egyptian army and marched south. He decimated the Nubians in Aswan, retaking the city after a very brief battle.

However, Baibars decided things could not keep going the same way they had for centuries. He continued to march south into Makuria, eventually reaching and sacking Old Dongola. The entire ruling elite of Makuria escaped south into another Christian kingdom deep in the upper Nile, Alodia. Baibars installed a puppet Makurian king in Dongola and allowed Makuria to continue as a Christian vassal of Egypt.

None of the threats Baibars dealt with disappeared. Crusader presence continued in the Levant, but it was only a shadow of its former self and it was a matter of time before they were eventually removed from the region. Nubian Christians will continue to revolt in Makuria, and attack from Alodia. Eventually, a gold rush will cause the region to be invaded and Islamized ending both Christian kingdoms. The worst of the Mongol-Mamluk wars was still to come.

Saintly presence

Oh Ali go to Egypt and raise the ranks of the charitable there.

Vision of El-Shadhli in Tunis.

The way that Egyptians syncretized Islam is hard to understand. In some ways it is unique in the Islamic world, but in other ways it has strong connections to the Islam of the Levant and North Africa. As early as mass conversion took place in the Ummayad period, Egyptian Islam acquired unique characteristics. Top among them is the veneration of saints. The patron saints of Cairo, or Fustat at the time, are mostly female, and mostly non-denominational. But as Egypt moved into the Mamluk period, the Islamic world in North

Interior of the mosque and mausoleum of Sayyid El-Badawy.

Africa saw great upheavals due to the loss of Spain. Syria also witnessed upheaval due to the Mongol Invasions. This led to migrations of people and ideas into Egypt. From Syria came austerity and fundamentalism. But from North Africa, sufism flowed in like a tsunami.

This brand of North African Islamic mysticism crashed against the unique Cairene tradition of sanctifying Al-El-Bait to create something unique to Egypt.

The three patron ladies of Cairo remain the foundation of the sprawling metropolis. But in the country as a whole, a new quartet of saints emerged as guardians. They were all sufis with mysterious origins in North Africa, and they all died in Egypt. The stories, moulids (festivals), and legacies that these people left behind are more about Egypt than they are about their factual biographies.

The hagiographies were also entangled in a strange, effortless, and unaware brand of Egyptian nationalism that had grown since the Tulunids. This is a unique brand of identity in the Middle Ages in that it combines ethnicity, geography, and religion to create something that nobody else had at the time. The four major patron saints of Egypt all emerged during the Mamluk period.

Mosque and mausoleum of El-Desouky in Desouk.

The saints are, in no particular order, El-Shadhli, El-Badawi, Abu-El-Abbas, and El-Desouky. The first three were all born in the Maghreb, but they reached the zenith of their call and died in Egypt. El-Desouky was born, lived, and died in Egypt.

The mosque and mausoleum of El-Mursi Abu-El-Abbas in Anfoushi, downtown Alexandria.

El-Shadhli is probably the most universal of the four, with his Sufi calling extending far beyond Egypt. He has major followings in the Maghreb and Sudan. But despite his importance to universal sufism, he is the least popular of the four in Egypt. The reason has to do with his place of burial, because again the hagiography of these saints is not really about them, it is about their followers. Shadhli is buried in a negligible hamlet in the middle of the Red Sea mountains. It is a short drive from Qena in modern times, but in olden times it was a very rough trek. Thus, in celebrations related to him, only dedicated Sufi sects make the journey to his mausoleum, and his lore remains conservative. But even with this universal character, the story is entangled with Egyptian nationalism. Shadhli is purported to have lost his eyesight later in life, but he still made the trip to El-Mansoura during the seventh crusade, where he bravely fought off the invaders.

On the other extreme is Sayyid El-Badawi of Tanta. Like Shadhli, he was born in the Maghreb and later moved to Egypt. His following is entirely limited to Egypt, and yet his moulid attracts hundreds of thousands. The reason has to do with where he is buried: in Tanta right in the middle of the delta. His mosque gave Tanta importance, and Tanta gave his mosque importance. This cycle created an ever-growing story of local patronage and miracles where it is hard to understand where the saint ends and where the city begins.

Sayyid El-Badawi mosque in Tanta.

The same story is repeated with El-Desouky, who is named after his city of Desouk at the northern edge of the Delta, and who pretty much defines the city. But even a major city like Alexandria found itself entangled with its own patron saint, Abu El-Abbas of Anfoushy.

This is a tradition that goes back into dynastic Egypt. Cities were specific cult centers. Cults created temples, and temples brought in devotees. Cities will compete with their spiritual goods, and it becomes hard to know where the city’s identity ends and where the identity of the cult starts.

These four Sufis are not the only four Muslim saints of importance in Egypt. The countryside in both upper and lower Egypt is peppered with mausoleums for various local Sufi saints. In the south, this is further complicated by dozens of Christian saint markers. Rural Egypt is defined by the competition between these shrines. The story is always about the people and the towns rather than the saint.

Mausoleum of Shadhli in the southern Red Sea mountains.

Gates

Modern Cairo is an endless metropolis with a veneer of chaos. To understand its logic, you must see it as concentric circles. The location of the city is immediately suggestive: it is at the confluence of the Nile and is intermediate between upper and lower Egypt. It is easy to fortify and provides a prime location to control the whole country.

In-city side of the gate of victory, Bab El-Nasr.

Thus, everyone tried to build a capital there. Time and time again, different dynasties tried to build an efficient and organized capital for their empire. The ancient Egyptians built Memphis and Heliopolis as holy cities. But they quickly became cities for everyone.

The early Arabs built Misru-l-Fustat, the polis of the tent. But the city refused to remain a military camp. It became a center of commerce, population, and culture. Not just Islamic culture, but also Jewish and Christian culture.

Bab El-Ghuri as part of Khan El-Khalily, Mamluk section of the walls.

The Tulunids and the Ikhshidis will try again with Al-Qatai’ and Al-Askar and will fail again. The Fatimids decided to end this once and for all, building a huge metropolis that would have no need to be overgrown: Misru-l-Qahira, the polis of the conqueror.

But this Fatimid invention of Cairo will be overrun, this time by itself. Cairo will go wild and will absorb all the Muslim capitals that preceded it and will expand beyond. Ayubids, Mamluks, and Ottomans will try to build new polis in easily defended places from the

Bab El-Barqiyah. The gate was built over in the Ottoman period. The gate and part of the Ayubid city fortifications have been recently excavated.

foothills of the Red Sea mountains to the islands of the Nile, but the city always chased and swallowed them.

Cairo started as an esoteric Fatimid capital from the dream of a caliph. Al-Mu’iz was told how to build Cairo in a vision. This is a story Egyptians could appreciate. Divine building plans are definitely in our playing field. Part of the infallible plan was to wall the city. This will protect it from invaders and will protect the city from being coopted by the people like earlier capitals. The first aim was successful for a very long time, the second was an immediate failure.

Bab Zuweila, site of the display of the mutilated corspes of Hulago’s messengers.

The walls of Cairo are a practical and ironic part of its history. Its gates are symbolic of what it became. Currently, the walls and gates enclose a laughably small portion of Old Cairo. When the city was first built, the walls enclosed a metropolis of enormous size.

The walls did nothing to keep the city from becoming what Egypt wanted it to be. People moved in, expanded the city, and crossed the walls freely. Successive dynasties continued to expand and reinforce the walls. Cairo’s formative years are defined by the crusades and the Mongol Invasions, and walls are the most natural consequence. The walls extended to the citadel of

Bab El-Futooh. This would have been the inside side of the gate. The current structure is late Fatimid.

the mountain in Ayubid times and expanded towards the Nile in the west in early Mamluk times.

The city had become a freewheeling cultural and economic center that rulers could no longer feel safe inside. The Ayubids and Burjis ruled from the citadel, while the Bahris ruled from Roda Island. The city and its walls and gates had become the people’s. They were there to protect the people from the enemies of the people.

And the gates of the city came to represent a lot more than its walls. Gates were entry points. but as the city grew, they became chokepoints between neighborhoods. Thus, some of these gates saw enormous traffic during the day as people moved from one neighborhood to another. In a time when mass communication was much harder, places where a lot of people passed became major platforms for public relations. Thus, a lot of these gates played a role in delivering messages.

There were over twenty major gates of Cairo. Only four major gates and couple of smaller ones survive today. Many of the other gates survive in the names of districts like Bab El-Shereyya and Bab El-Wazeer.

Fortunately for us, the gates that did survive are some of the most iconic. Bab El-Nasr literally means gate of victory. Its primary symbolic role was to be an entrance points for sultans and caliphs returning from successful military campaigns.

But perhaps the most infamous gate of Cairo is Bab Zuweila. The gate is distinct for its extremely high minarets. Minarets on mosques allow the muezzin to make the call to prayer heard for longer distances. In Bab Zuweila, the minarets were originally used by the Fatimids as watchtowers to scout towards the east.

By the Mamluk period, the gate was no longer on the frontier of the city. Scouting was better done from the citadel of the mountain. Bab Zuweila had a different role; It was used to perform public executions and to hang the bodies of major criminals or enemies of the

state. The most iconic such execution was the killing of the messengers of Hulago. Qutuz cut the messengers down the middle and hung their rotting corpses from the gate. This action burnt the option to surrender for Egypt, and put the Mamluk Sultanate on a centuries long journey to beat the Mongol Empire.

River folk (1,277-1,380AD)

Qalawun complex, Bain el Qasrein.

The Mamluk sultanate is hard to understand because it does not conform with the norms of any other empire in history. The Mamluks are not an ethnic group and did not define themselves along lines that we would recognize today. Mamluks are a caste of enslaved fighters who inevitably became free as a matter of course. Their slavery was not seen as a sign of shame, but rather a necessary phase. It is hard to imagine this in the modern context, but in the medieval Muslim context, this was simply a way to ensure their loyalty to the ruler.

Thus, the main way that Mamluks defined themselves is by the ruler they served. A Mamluk may become a ruler himself, and then his Mamluks would be defined by him. The dynasty is defined not by ethnic origin or by family, but by loyalty. Most Mamluk rulers were elected by other Mamluks. It is incredibly confusing that “slaves” would elect another slave to be their ruler. But these “slaves” were rich and powerful local rulers themselves. It is absolutely confounding, but we must understand it on its own terms.

Interior of the mausoleum of Qalawun.

In Egypt, the first dynasty of Mamluks was largely but not exclusively Turkic. They largely but not exclusively chose succession by election. Some tried to have their children succeed them, some did not. Some were successful, and some were not. But this whole line of Mamluks started by Baibars, regardless of their family and ethnic origin, are known as

Mamluk brass bowl.

Bahri Mamluks.

The word “Bahri” or “Bahari” in Egyptian Arabic means maritime. This is strange because the Bahri dynasty had nothing to do with the sea. The word refers to their center of rule, the polis. The Fatimids ruled from palaces in Cairo. The Ayubids and very early Mamluks ruled from the citadel in Mokattam. The Bahri Mamluks ruled from the island of Rodat El-Manial, thus the maritime component is actually riverine, and only symbolic.

Before Baibars died, he named his son as his successor. His son was inept and young and was immediately deposed and replaced by another elected Mamluk: Al-Mansur Qalawun. Like his predecessor, Qalawun had to contend with a combined crusader-Mongol threat. But this time, the Mongols were not kidding.

The Ilkhanate marched on Syria with a huge army of nearly 100,000. Armenia and Georgia also joined the war on the Mongol side. Mongol armies were typically capable of defeating much larger armies and this time the Egyptian army was much smaller. However, Qalawun decisively destroyed the Mongols in the battle of Homs. It is curious that this battle is not as well-known as Ayn Jalut. It was a much bigger battle and Qalawun won a decisive and long-lasting victory against much worse odds.

Qalawun then turned to the crusader states in the Levant, dividing and conquering their remnants. The strongest and most enduring crusader state was Acre. Qalawun concluded that Muslims had to contend with indefinite crusader rule of the impenetrable city and negotiated a long term peace agreement.

For an inexplicable reason, the Christian soldiers in Acre decided this was a good moment to massacre its Muslim population. Qalawun demanded an explanation from the crusader rulers of the city, his new peace partners. No explanation was forthcoming and Qalawun was forced to wage war against Acre, laying siege to the city. The siege of Acre will be long and arduous, and even though Qalawun will die first, Acre eventually falls and ends as a crusader state.

Internally, Qalawun introduced tax reforms and started a massive building campaign. The tax reforms in particular gained him favor with the merchant elite in the north. Qalawun’s

complex is still a very impressive highlight of historical Cairo. It includes his mausoleum, which is traditional. But it also has a hospital, and other worldly structures. This was part of his campaign to gain the hearts and minds of commoners.

Qalawun noticed that the Turkic majority of Mamluks in Egypt allowed them to consolidate local rule over some provinces. Fearing eventual rebellion, he diversified the Mamluk ranks by buying Circassian slaves instead of Turkic slaves.

This is an everlasting problem for Muslim rulers of Egypt. They do not trust Egyptian Muslims who have their own syncretic beliefs, but they need to adapt to the local culture to gain popular favor. Yet military power has to lie with a caste whose loyalty is entirely for the ruler. Thus, soldiers must be imported slaves who have no family or tribal ties. But if this elite slave caste has any unifying ethnic feature, they rebel or start terrorizing locals. Thus, the need to diversify sources. Which leads to civil war among the Mamluks. Which leads to rebellions.

After Qalawun died, his son Al-Ashraf succeeded him. Al-Ashraf was competent and managed to keep the expansive sultanate intact. He continued his father’s policies of consolidation in Syria and finalized the invasion of Acre. However, when he died in 1293AD, the Bahri Mamluk sultanate fell into a period of decline.

Al-Ashraf was succeeded by his younger brother Al-Nasir Mohammed Ibn Qalawun. Al-Nasir will take almost two decades between 1293-1310 AD to ascend to the throne. This period was extremely turbulent and will take its toll on Egypt. At first, Al-Nasir was deposed by a Mongol Mamluk who was in turn deposed by a Mamluk of Greek origin. Al-Nasir deposed the Greek Mamluk and took the throne again.

But Al-Nasir was deposed again by a Circassian Mamluk, Baibars El-Jashankir, also known as Baibars II. All this turmoil took its toll on the sultanate. The crusaders were regaining territory in the Levant, the Mongol Ilkhanate invaded and sacked northern Syria, and for the first time since the establishment of the sultanate, Egypt was in revolt.

Popular pressure on Baibars II became unbearable and in 1310 AD, Al-Nasir was restored for a third and final time, this time through the power of the people. The older meaner Al-Nasir felt he had a mandate and ruled with an iron fist. The result will be the apex of the Mamluk sultanate. Egypt will expand its borders beyond any time before and since. The administration and military will be stronger than any period other than modern times. Egypt will become stable, successful, and wealthy. Egypt will be confronted by the Mongol

Sufi gathering place in Gamaliyya built by Baibars II.

Empire and Christian Sudan, but neither of its antagonists will emerge the same from the confrontation.

The chaos of Al-Nasir’s ascension was caused by Mamluks gaining too much power. All his ancestor’s attempts to address this issue had failed. Al-Nasir followed a vicious strategy to keep Mamluks from acquiring too much influence. He carried out regular massive massacres of his retinue of Mamluks, thinning out their ranks. To compensate for this, he would recruit newcomers to form a new elite. The turnover rate was extremely fast, and the massacres were large scale. In many cases, half of the upper ranks of the Mamluks would be exterminated at a time.

Illuminated Mushaf from Baibars II reign.

This had the short-term benefit of preventing any Mamluk from consolidating any significant power. However, one would expect it to backfire in the long term. Amazingly it did not. The new Mamluk recruits Al-Nasir hired had meteoric rises. This attracted massive immigration into Egypt, and hundreds of people sold themselves into slavery just to get into this weird crucible.

Al-Nasir created a parallel bureaucracy to administer the country independent of the Mamluks. He staffed this new civil structure with Egyptians, isolating Mamluks to the military. Thus, the chaos of the meat grinder he created did not spill over into civil life.

In his third reign, Al-Nasir also oversaw the final push by the Ilkhanate to invade Syria. This final Mamluk-Ilkhanate battle ended in a Mamluk victory. The longstanding diplomatic efforts of the Mamluks ensured this was the last round of the war because the Ilkhanate shortly converted to Islam. The entire Mongol Empire was now Muslim, and the Mamluks

Mosque of Al-Nasir Mohammed Ibn Qalawun.

Quran from Al-Nasir’s tenure. Illuminated Qurans are a feature of Mamluk patronage.

will have good relations with this incarnation of the horde.

Al-Nasir decided to end Christian Makuria. He deposed the Christian vassal of Egypt and appointed a Muslim puppet ruler at Dongola. This ruler was quickly deposed by a Muslim Arab ruler from Arabia. Sudan will never be the same as it gets exposed to massive migrations from the Arabian Peninsula.

Al-Nasir died in 1341AD. He managed to kick off a phase of hereditary rule that lasted till 1380 AD, the end of the Bahri dynasty. This hereditary dynasty was not a period of stability. Decades of importing non-Turkic Mamluks led to power concentrating with Circassians. The sultan gradually lost power as authority became decentralized.

Initially, this did not lead to problems. Rule of law and crime fighting continued for the most part and the economy was as good as in normal times. Things were not ideal, but there was an initial period of normalcy.

Quran box, Al-Nasir Mohammed.

However, in the late 1340s the Black Death arrived in Egypt. We now think this was bubonic plague. Most historians think it originated in China, but it arrived in Egypt from the Byzantine empire, entering the country on trade ships through Alexandria. The plague had a devastating and immediate effect on the Bahri dynasty. It is hard to find specific numbers for victims, but anywhere from one third to half the population of the country died. This depopulation hit the economy hard as labor became scarce. To make matters worse, quarantines interrupted trade all around the Mediterranean, hitting the coffers even more.

Perhaps because of the plague, the Christian king of Cyprus attacked and occupied Alexandria in the 1360s. He tried to frame the attack as a crusade. The reality is that the scarcity of the black death enticed him to attack Alexandria and take it out of commission, transforming Cyprus into the trading hub of the eastern Mediterranean. The attack was not sanctioned by the pope, and thus was not a crusade in the strict sense. It was not a crusade in the real sense of the term either. One aspect that it shared with real crusades is that it fizzled out and failed. The only thing this attack would achieve is heightened enmity between the Mamluks and eastern christendom.

Tower folk(1,380-1,516AD)

The Bahri Mamluk dynasty was replaced by the Burji Mamluks. This process took almost a decade between 1380 and 1390 AD. Like the Bahris, the Burjis did not form a family line and their rulers did not come from a single ethnic background. However, whereas most Bahri Mamluk sultans were Turks, most Burji sultans were Circassians. Circassians come from the northern Caucasus, north of Georgia and Armenia. The title “Burji” in Arabic means “of the tower”. The Burji dynasty moved their center of rule from the island of Roda to the citadel of the mountain, hence the title.

The Burjis shared a lot of cultural similarities with the Bahris. Burji succession was chaotic and attempts at introducing familial dynastic lines met mixed fates. Under the Burjis Egypt continued to rule Palestine, Syria, and the Hijaz. Egypt also continued to exert a lot of influence on Sudan. Small scale wars with crusaders and Mongols continued. And conflict sometimes flared with Armenia and Georgia.

The Barquq complex.

The Burji dynasty was relatively stable, and Egypt became a major center of commerce and culture. The Abbasid caliphs, now powerless symbols, had resided in Cairo since the fall of Baghdad. Egypt controlled Mecca, Medina, and Jerusalem. Cairo exploded with mosques, madrasas, hospitals, and bazars. Egypt controlled trade across from the entire Mediterranean basin and Asia, and the fruits of this control were clearly visible.

The main threat to the Burjis was not Europeans or Mongols. It was other Muslims. Burji Mamluk Egypt clashed constantly with Turks in Anatolia. The downfall of the Mamluk sultanate and all of Egypt will come after a small Anatolian Beyelik claimed the mantle of the caliphate.

The Burji regime was started by Barquq, a Circassian Mamluk. The Bahris did not die quietly, and the transition was not completed until 1390AD. Barquq consolidated power by recruiting large numbers of Circassians to balance Turkic Mamluks. He also solidified his grip on Syria, putting down independence movements among local Mamluks. North of Syria, he managed to briefly bring some Anatolian Turkish principalities into vassalage.

Interior of the mosque of Barquq.

However, there were two emerging threats. In the Iranian plateau a Turkic-Mongol confederation, the Timurids, rose to power and started to raid Iraq. In western Anatolia, the Ottomans were an emerging Turkish superpower.

Barquq also had to contend with a growing problem in Upper Egypt. Since the Arab invasion of Egypt, Arab tribes had settled in different parts of the country. The relation between Egyptian farmers and these Arab settlers was complex. In some cases, the Arabs were incorporated into local society. But in most cases, the Arab tribes imposed control on areas where they settled. This usually took the form of charging protection money from Egyptian farmers, which created a parallel tax structure, undermining the state.

Lower Egypt had always had a very large population. Arab settlers could not impose control on the large cities or the countryside in the Delta. The north was also close to the capitals of Muslim Egypt, and whenever an Arab tribe overreached, it was promptly deported.

Upper Egypt was a different story. The region had been hard to govern since the Late Period. The deeper you go south, the less state control. Whenever a Muslim dynasty in Egypt faced a downturn, Aswan was the first city to be lost. Upper Egypt was sparsely populated, less

Ceiling of the dome of Barquq mausoleum, showing typical Mamluk crenelations.

urbanized, and more isolated due to its geography.

Upper Egypt is a long and narrow valley. The desert is always close. To the east of the Nile valley, the desert is a giant wall of limestone mountains crisscrossed by a labyrinth of wadis. In the west, it is an infinite sandstone plateau. Whenever the state tried to banish troublemakers in the south, they simply hid temporarily in the desert. State control was sparse, and people were used to centuries of isolation from the centers of government in the north. Over the centuries of Muslim rule, Arab migrants took advantage of this. They took control of Upper Egypt, becoming de facto independent, and imposing their own system of government on the locals.

Successive dynasties were not unaware of this problem. Ummayads and Abbasids started the process of importing Mamluks to balance Arab tribes. Fatimids and Ayubids regularly raided Arab tribes in the south. The Fatimids even sparked a mass expulsion of Arabs from Upper Egypt into the Maghreb.

But the Mamluks were particularly interested in breaking tribal power in Upper Egypt. Barquq used an old and tried approach, he used a new tribal confederation to break the old one. His choice was the Hawwara tribe, a berber tribal confederation from North Africa that had arrived in Egypt with the Fatimids.

The Hawwara had originally settled in Lower Egypt. But after being promised princedoms in Upper Egypt by Barquq, they migrated south where they started a war with the Arab tribes that controlled the region. The Hawwara won the war.

So, wouldn’t the Hawwara recreate the same problem that the Arab tribes had created in the region? The answer is yes, and if you think Barquq had a secret antidote, he did not. The Hawwara imposed their sovereignty over Upper Egypt. They sometimes clashed with Arabs, and at other times allied with them. Both continued to terrorize the countryside in the south for centuries. The Hawwara-Arab confederation will menace the Egyptians of the

Khanqah of Basrbay.

south till the early 19th century, when a large-scale genocide caused both the Hawwara and the Arabs to migrate en masse into Sudan.

Barquq wanted to start his own dynasty, and when he died in 1399 AD, he was succeeded by his son. He was not a successful heir and the country fell into a decade of chaos as various Mamluks jockeyed for power. This decade devastated Egypt. Plague hit the country hard, decimating the workforce and destroying agriculture. The Arab-Berber war in Upper Egypt continued to take its toll on the south. In Syria, local Mamluks tried to breakaway, but they were attacked by Timurids from Iran and Anatolia.

In 1412 AD, a Mamluk by the name of Shaykh finally took control of the country. He recovered Egypt’s control over Syria, mainly because the Timurids got entangled in a war with the Ottomans in Anatolia. Upper Egypt remained in chaos and the economy did not recover. Shaykh realized that the increasing power of Circassian Mamluks was to blame for a lot of the internal unrest in Egypt. However, he used the same old failed policy of importing Turkic Mamluks to balance them out.

When Shaykh died in 1420 AD, his succession sparked the usual Mamluk quarrel. However, this was short-lived, and Barsbay, a Circassian Mamluk, took solid control of the country. Barsbay is the most divisive figure of the Mamluk period. Egypt reached one of its highest points during his reign, but his priorities and policies were not sustainable and created long term issues for the country and perhaps the world. Barsbay at once made the country extremely powerful and wealthy and planted the seeds of the end of the Mamluk sultanate.

Interior of the mosque part of the Khanqah of Barsbay.

Militarily and politically, Barsbay was assertive. He recognized Timurid military activity and soft power in the region and confronted both successfully. He reasserted the sultan’s control over Syria and the Hijaz. And in Anatolia, he fought with comprehensive success against the Turkish principalities, reducing most of them to vassalage.

Economically, he was equally assertive, and in some ways his economic innovations were ahead of their time. He recognized that the strength of the Mamluks lay in their control of trade, so instead of taxing trade he took it over. He forced commerce in strategic and luxury goods to go through state hands. He also created choke points which forced trade in the Red Sea and the Mediterranean to go through Mamluk ports.

This filled his coffers, but there was a price to pay. First, he focused on commerce at the expense of agriculture. Second, his monopolies deprived the Egyptian merchant elite in the north of the country. This elite was happy to let the Mamluks and the Arabs do all the fighting and ruling, as long as they controlled trade. He also ignored Upper Egypt. The Berber-Arab wars in Upper Egypt ended with an Arab defeat. The Hawwara were now effectively the rulers of Upper Egypt. Choking trade in the Red Sea also forced Europe to find alternative routes to Asia. In some ways, Barsbay may have inadvertently kickstarted the age of discovery.

Barsbay died in 1438 and from his death to 1467AD the sultanate slipped into the typical Mamluk succession chaos. Multiple rulers, including Barsbay, tried to introduce dynastic rule by installing their sons. This often failed with the young princes immediately replaced by powerful Mamluks. Internally, the country continued to do fairly well, with Barsbay’s centralization of the economy continuing to pay off. Externally, a storm was brewing. In 1453AD, the Ottomans invaded and occupied Constantinople, ending the eastern Roman Empire. This gave them a significant boost in prestige. The Mamluks were too embroiled in their internal squabbles to realize the implications of growing Ottoman influence on the Muslim world.

Mamluk rule followed a pattern. A strong sultan would come along to introduce reforms and create a strong central state. The country benefits, even if some sectors come out as losers. Then after his death, a long period of chaos ensues. The country would not fall apart, but everyone lost something. The longer the state weakness lasted, the more local Mamluks terrorized and extorted the civilian population. Eventually, a new strong leader came along to restart the cycle.

Dome of the mausoleum of Qaytbay.

The next mini golden age came at the hands of Qaytbay, who took power in 1468AD. It will continue till his death in 1496AD. Qaytbay’s long tenure is very atypical of Mamluks. This is also another truth for Egypt since Naarmer: longer tenures and successful rule correlate very well.

Qaytbay’s successes were mostly internal. They were also muted and mixed. Qaytbay restored links between the state and the Egyptian civilian population in the north, reviving the merchant class and giving patronage to scholars. He built extensively and spent tax income on the country rather than on buying Mamluks. On the flip side, he continued the Mamluk tendency to ignore agriculture. He also accepted the trend of letting Upper Egypt fall under the rule of the Hawwara.

Externally, the story was less mixed and mostly negative. Qaytbay witnessed no major defeats, and in fact cleverly navigated incredible odds. However, he still oversaw the sultanate’s control shrinking and only managed to push the inevitable fall to the Ottomans down the line.

Qaytaby faced two major challenges in foreign policy. The first was increasing Venetian primacy in the eastern Mediterranean. Qaytbay simply accepted this. He gave up the Egyptian naval control of the region with very little resistance. This may be because he saw the other external challenge as more existential.

Citadel of Qaytbay in Alexandria. This stands on the island that separates the two harbors of the city. It stands in the same location of the Pharos and some of the stones of the latter form part of its walls.

North of Syria, two major powers shaped Anatolia and the Caucasus. To the west, the Ottoman Turks were taking control of everything. To the east, a nomadic Turkic confederation, the Aq Qoyunlu, had swept through the region from deep in Asia. Both posed a major threat to Mamluk control of Syria. Qaytbay made, reversed, and reinstated multiple alliances with Turkish principalities to navigate this. But he understood that the only power in Anatolia that mattered was the Ottomans. This was especially true after the fall of Constantinople.

Qaytbay fought the Ottomans successfully. Both sides eventually had to accept peace and drew lines of control in Anatolia. Qaytbay came out on top with this agreement, extracting Ottoman admission of Mamluk sovereignty over Syria and presence in Anatolia, but this recognition will not last.

After the death of Qaytbay an inevitable but short period of Mamluk anarchy ensued. The next period of “stability” was ushered by Qunsuwah Al-Ghuri who ruled from 1501 until he was killed in the Ottoman-Mamluk war in 1516 AD. Al-Ghuri had a tumultuous reign both

Qaytbay.

internally and externally. He was also stabbed in the back by multiple sides, leading to a fall of the sultanate that mimics its rise.

Internally, Al-Ghuri was a net negative. He continued to ignore agriculture, while commerce suffered from Egypt’s loss of control in the Mediterranean. The country was also reeling from multiple outbreaks of the black death. The economy was in free fall. Mamluk armies had grown too strong, and they constantly rebelled demanding increased pay. Because the economy was shrinking, the sultan had to get this extra pay by increasing taxes. Normal Egyptians payed these taxes to the state while also paying protection and extortion money to local Mamluks in the north and to the Hawwara in the south.

Externally, Al-Ghuri had to face up to an extremely challenging global picture. To be fair to him, he did the best that anyone could. Egypt still fell under his rule, but there was no part of the story where he could have made a better decision. Egypt’s global challenge had four players at this point: the Venetians, the Portuguese, the Ottomans, and Safavid Iran.

The Venetians controlled trade in the eastern mediterranean. They were in alliance with the Mamluks because stable trade routes in the region were to the benefit of both. These routes went from India to the Red Sea, overland through Egypt, to the Mediterranean, and from there to Venice and Europe.

The Mamluks were also in good shape with the Ottomans, or so they thought. Both were Sunnis and both had reached a mutually agreeable arrangement on how to share power in Anatolia. Both will also face dire threats from the remaining two players on the scene. In fact, for all Ghuri’s career except for the last few months, the Mamluks and the Ottomans were strong allies. Why the Ottomans decided to stab Egypt in the back is hard to discern, although the most obvious reason is because they could.

The Portuguese were emboldened by the policies of Barsbay to venture around Africa in search of alternate routes to India. Decades later, they found a profitable route around the Cape of Good Hope and Europe started to bypass the Red Sea and the eastern Mediterranean. This left the Venetians and the Mamluks sidelined. It also made the previously strategic Constantinople irrelevant. The prize the Ottomans had just acquired was now only symbolic.

This led to a prolonged maritime war which pitted Egypt, the Ottomans, and Venice against the Portuguese. The war took place on the west coast of India and in the Arab Sea. Portugal tried to establish ports and colonies along this route, including in Yemen. This was a Muslim area that was either controlled by the Mamluks or in their sphere of influence.

Most of the maritime fighting in the Indian Ocean was done by Egypt. Venetians provided material and logistical control. The Ottomans also provided some logistics and participated in some battles.

In Iran a new dynasty was rising. The Safavids were Turko-Persian and will come to embody Iranian nationalism. To distinguish themselves from the Ottomans, the Safavids adopted Twelver Shiism. They spread the religion in Iran and gave their war against the Mamluk-Ottoman alliance a sectarian tinge.

The Safavids invaded Iraq and became a clear existential threat for both Sunni powers to the west. The Mamluks saw the Safavids and the Portuguese as very clear threats, which was true. They assumed the Ottomans were reliable allies and brothers in faith, which was very wrong.

Siege generations

Egyptian Islam is syncretic and unique. In Egypt, and allover the Islamic world, local Islamic practices have come into a confrontation with a more austere and sterile form of the religion known as Salafism. Salafism has spread across the Muslim world in the twentieth century under the financial patronage of the Saudi government. In fact, Salafism is the foundational ideology of Saudi Arabia. But a little known secret is that the seed of Salafism comes from the Mamluk Sultanate.

Specifically, one scholar in Syria singlehandedly started this strand of Islam. His name is Ibn Taimiyya. He wrote and preached mostly in Mamluk Syria during the Mongol Invasions, but his views crystalized during a decade when he preached from the capital of the Muslim world and the seat of the Abbasid caliphate: Cairo.

Ibn Taimyya fervently supported the Mamluk struggle against repeated Mongol Invasions. He was not a client of the sultan, and was not payed to preach. He recruited fighters in the Levant by framing the war in religious terms. This is not how it was viewed at the time. Even the crusades, clearly religious wars from the European side, were not consistently viewed in religious terms by the Muslim world. Every Muslim dynasty in the Middle East had periods of peace and coexistence with both the crusaders and the Mongols.

This is not how Ibn Taimyya saw it. He saw an Islam under siege. The Mongols were attacking from the east, the crusaders from the west, and to the north the Armenians and Georgians had backstabbed Muslim rulers by breaking peace agreements and allying with the invading Mongols. The Mongols had allowed surrendering Muslims to practice their religion under Mongol dominance, but this was not acceptable to Ibn Taimya. Not only was it not acceptable, it was infidelity because it allowed non-Muslims supremacy. This dive into subservience is what led Muslims to defeat.

So, according to him, the only way to victory is for Muslims to return to Islam. A pure and uncompromising Islam that departs from centuries of tolerance and diversity. The diversity had allowed divisions to fester among Muslims. It also allowed non-Muslim communities in Islamic land to grow too powerful, using the first chance to backstab the societies that had embraced them.

For many reasons this way of viewing the world is wrong and self-defeating. But it is also perfectly understandable that Ibn Taimyya saw things this way. He was part of generations of Muslims who were born, lived, and died under siege. Massacres of Muslims occurred every day for centuries. Living under existential threat had become a way of life. Hardline paranoia was the only natural outcome.

The Mamluks found him a useful recruiting agent in Syria, but when he moved to Cairo, the extremes of his philosophy started to extract a price. He preached a strangely anti-Christian and Jewish philosophy that was not typical of any Muslim empire. He was also virulently anti-Shiite. He saw Shiites as nothing but agents implanted by crusaders and Mongols But it was his views on sunni Muslims that broke the camel’s back. He was strictly anti-Sufi. He opposed respect for saints, and he had fundamental conflicts with traditional Sunni schools of law. His opposition to Sufism put him in conflict with the populace at large. His conflict with traditional Islamic law put him in conflict with the sultans. Both combined landed him in jail, but his ideas will never die, and will be a challenge to Egypt and most of the Muslim World today.

The road to understanding the state of kings

Egypt is where I was born, it is the playground of my childhood, the abode of my people. I want to know its tales, I look forward to drink from its wells. My pastime is to question the caravans passing by about the people who dwell in the houses of Egypt, and along those steps I wrote over the years, and collected benefits that seldom a book can contain, or contain the equal of its rarity and uniqueness a retelling.

Introduction by Maqrizi to Al-Mawa’iz

Cover of an early modern print of Maqrizi’s survey of Egypt.

Taqey El-Din El-Maqrizi was born in 1364AD and died in 1442AD, a long age for his time. Al-Maqrizi was born in Egypt and spent all his life in the country. This allowed him to write unique works on Egypt at the height of Mamluk Burji glory of Sultan Barquq. Maqrizi wrote on geography, history, and ethnography.

His geography is fascinating because it shows us what people back then knew and did not know. Sometimes, it is shocking how much geographers in the Middle Ages knew about their world. Some other times, they seem to miss obvious facts.

In his history, he provides a unique eyewitness account to his own times. But he also writes about the history of previous Egyptian Muslim states, showing us how they were perceived by people of the time.

But what really sets Maqrizi apart is that he answers a question we often struggle to address: how Egyptians viewed themselves at the time. It is clear that Egyptians saw themselves as distinct in dynastic Egypt. Egyptians also see themselves as distinct today. But between the Roman invasion in 30BCE and the French expedition in 1798AD, how did Egyptians see themselves?

Maqrizi was writing at the zenith of independent Muslim Egypt after centuries of Fatimid, Ayubid, and Mamluk empires. If anyone saw Egypt as special, it had to be him. And he did. He saw Egypt as wondrous, special, distinct, continuous, mystical, and ancient. The way he writes about Egypt is effortless, as if what he says is self-evident. To him, the distinction of Egypt is a fact that everyone knew, he was just describing and surveying a fact.

Although he was a prolific writer, two books in particular summarize his vision. The first is “The road to understanding the state of kings” in which he tells the history that mattered to him: Ayubid and Mamluk history. He also wrote a separate volume about Fatimid history. Maqrizi had a turbulent though not exclusively negative relation with authority. So, the fact that these three independent Egyptian Muslim dynasties are what mattered to him shows us how he identified. He saw a special legitimacy for Egypt as the center of Muslim identity, and ignored all that came before it.

Sultan Hassan complex showing a prototypical Bahri dome and minarets.

His second magnum opus is titled “The wisdoms and lessons in mentioning plans and landmarks”. The book is supposed to be a geography of the known world, but he quickly zooms in on Egypt. He describes the geography of the country, but again the book quickly shifts into an ethnography of the people of Egypt. And much of the book is consumed with one city: Cairo.

Maqrizi’s obsession with Egypt and its people is inescapable. He describes an Egypt that is diverse and different from everything that surrounds it. He also views Cairo and Fustat as a singularity. He thinks the city is as important as the rest of the country combined. This obsession with Cairo as a repository of Egyptian identity continues to this day.

Sinful beauty

Courtyard of the schools of Sultan Hassan.

There is a fish restaurant in Giza that, through the convoluted workings of history, has one of the best views of the great pyramids. It is at a small distance of less than 10km away from the necropolis. As night falls, there is a moment when the lights of the light and sound show turn on and the pyramids are illuminated. At this point, the brain fails to register the image. The pyramids look like they were inserted there by a computer. It looks

Dome of the mausoleum, showing obsession with muqarnas.

like a structure that should not exist. The perfect geometrical shape looks out of place. The plateau is hidden by buildings at the end of Haram street, and the pyramids rise above modern apartment buildings to an insane towering height that just looks like it should not exist.

Illuminated Mushaf commissioned by sultan Hassan for the mosque.

But visiting the great pyramids up close is kind of a letdown. They are still impressive, but up close, you can see the individual blocks of stone, you miss the overall structure, and there is nothing nearby to put things in perspective. The pyramids of Giza are best seen from a moderate distance. They are still something special up close and personal, but there is something other worldly about seeing them from a distance.

Entrance to the complex of Sultan Hassan.

There is a certain kind of “feel” for mosques in Cairo. Domes that look a certain way, and minarets with a distinct top. Most Egyptians misidentify this style as Fatimid, it is actually Mamluk. Mamluk architecture defines Cairo, and Cairo is Mamluk architecture. To see how Muslim Egypt developed outside Mamluk influence, you must travel outside Cairo.

The piece de resistance of Mamluk architecture is the sultan Hassan Mosque. This monument is the polar opposite of the pyramids of Giza. At a distance, the mosque looks good, but it is just an embarrassment of riches in historical Cairo, an area the size of many modern capitals that is entirely a UNESCO world heritage site. Sultan Hassan mosque from afar looks like a landmark for any city, but for Cairo it is one of hundreds of mosques, mausoleums, khanqas, and madrasas in the old city.

But when you get up close the mosque transforms. The detail in sultan Hassan Mosque can only be appreciated in small frames. You must stand inside and focus on a small section to be able to comprehend its detail. There is no way for a human mind to take it all in at once. It includes all the elements of Mamluk architecture on hyperdrive. The dome exterior and the minarets are the prototypes of the style. The facade and the interior are awash with muqarnas, the marker of Islamic Architecture from Spain to central Asia, and the walls are covered in inscriptions and calligraphy.

The mosque also bears the history of the Mamluk Sultanate with all of its strange anomalies. It was built as a monument for sultan Hassan, the grandson of Qalawun, towards the end of the Bahri dynasty around 1350AD. The mosque is as important to modern Egyptian identity as the pyramids or Karnak, but when it was built it was controversial.

The structure is a complex, containing a mosque, mausoleum for the sultan, and four schools for education in the four mazhabs of Sunni law. It was expected to house the body of

Interior vestibule of Sultan Hassan. The ornamentations on the ceiling are known as muqarnas. They appear very early in Islamic history in disparate places, but some of the grandest examples are in Mamluk architecture.

the sultan, while the schools continued to generate good deeds for him after death by spreading wisdom and knowledge among the populace.

The mosque was also a work of vanity. Sultan Hassan wanted to build the grandest structure in the grandest city of the Muslim World. And he managed to do so. However, the complex was built at a low point for the Bahri dynasty. The black death had reached Cairo, and the city was decimated. The economy was in shambles, and skilled labor was getting dearer by the day. And yet, the complex was completed, and by all estimates, it was the most expensive structure in Mamluk Cairo.

We do not have to guess how people at the time felt about the complex. Sultan Hassan himself felt regret for the cost that it was accruing. It became a sign of his perceived decadence, which may or may not have been a fact. The sultan was assassinated, his body was never found, and his mausoleum is empty today.

Sultan Hassan picked a strategic location for his complex, at the foot of the citadel of the mountain. The citadel complex housed Egyptian legitimacy since the Ayubids, and the location of the mosque was supposed to draw upon this legacy. If legacy is what Sultan Hassan wanted, he got it. The mosque still lies in a strategic choke point of two major highways, and a huge proportion of the population of modern Cairo see it on their daily commute.

However, the location also put the mosque at the heart of Mamluk shenanigans. The facade of the complex is pitted with artillery marks. They are not blatant, and you need to look for them, but they are there. These are marks of Mamluk wars. In many battles, factions would

Courtyard of the mosque of Sultan Hassan.

take position in the citadel, while opposing factions stood at the foot of the hills, and they shelled each other with the mosque in the line of fire.

The sultan wanted to remain at the center of action, and that he achieved. His complex has overseen a huge chunk of Cairo’s history and is today synonymous with the city. The sultan, however, is not witness to any of this.

Staring into the void (1,516-1,517AD)

Inside of the empty mausoleum.

In 1514AD, Egypt launched a major naval campaign against the Portuguese in the Indian Ocean. The aim was to stop them from occupying Aden, the most important harbor on the Arab Sea. The Ottomans provided support, but Egypt had to do most of the fighting. It was understood that this was to give the Ottomans space to handle the Safavids in Iraq. The Ottomans extracted a decisive victory against the Safavids in 1514AD, pushing them back into the Iranian plateaux and acquiring all of eastern Anatolia and the parts of northern Iraq that the Iranians had occupied. This line will forever limit the western influence of Iran in the region. The Ottoman sultan, Selim I then turned to southern Anatolia where he conquered the last remaining Turkish principality.

In 1516AD, Egypt was deep at war with Portugal in the Indian Ocean. Selim I, the Ottoman ruler falsely claimed that Egypt had entered an alliance with the Safavids. He declared the Mamluks heretics and oppressors. Because there is no basis for this claim, the most likely explanation is that Selim I saw a ripe opportunity. The Ottoman army was already mobilized from the Safavid wars, and the Egyptian army was far away in the south fighting the Portuguese. If Egypt fell to the Ottomans, they could create something altogether different.

Al-Ghuri marched to meet Selim in northern Syria. The Mamluk army fought valiantly. But the Egyptian navy was away, and Ottoman infantry was superior. Ottomans were particularly more experienced with gunpowder. Qunsuwah Al-Ghuri was killed in the battle of Marj-Dabiq in Syria, and the sultanate passed to his son Tumanbay.

The Mamluks decided to retreat into Egypt and fight from a defensive position. The Ottomans marched through the Levant unopposed. This had always been a losing strategy for Egypt and this time would be no different. Locals in Syria and Palestine revolted against all remnants of Mamluk rule and immediately joined the Ottomans. Decades of mismanagement and extractive taxation had created the groundwork for this perceived betrayal.

When the Ottomans entered Egypt, the landscape was less friendly. Egyptians perceived the Ottoman, correctly, as invaders and resisted. Mamluk culture and administration was mostly Egyptian, and at least in the north people felt they had a stake in fighting. On the open battlefield, Tomanbay led an army composed of Mamluks, Egyptian militias, and Beduins. This Egyptian army was decimated in Ridaniya. Tumanbay retreated to El-Bahnasa in Middle Egypt and Selim marched triumphantly into Cairo.

Cairo fell into anarchy. Selim I set up a base in Bulaq and declared a general amnesty for Egyptians and only Egyptians. There would be no amnesty for Mamluks. The amnesty made no difference on the ground and the Ottoman army sacked Cairo. The massacres and looting that ensued are hard to quantify, but it is safe to assume that it was as bad as anything Egypt had seen since the Persian invasion in the Late Period.

Tumanbay was eventually captured. Selim I initially extended him a pardon, but he soon revoked it and executed him, hanging his body from bab Zuweila. Ottoman rule of Egypt would last from 1517 to 1798AD. It begins with an inexplicable betrayal, chaos, massacres, and broken promises. Things will not improve over the next two centuries.

Egypt and its overseas possessions gave the Ottomans a much stronger economy, control over essential trade routes, a road to North Africa, and rule over Mecca and Medina. The Ottomans will give Egypt the void.

But perhaps the biggest thing that Egypt gave the Ottomans was symbolic. Egypt was the seat of the Abbasid caliphs since the sack of Baghdad. These caliphs played no role in the story of Mamluk Egypt because they were purely symbolic. Selim I captured the last Abbasid caliph, Al-Mutawwakil III and took him to Istanbul where he was forced to abdicate his title.

Ottoman rulers will now become caliphs with control over Mecca, Medina, Jerusalem, and the entire eastern Mediterranean. The legitimacy of the Ottoman caliphate will remain controversial to this day, with opponents pointing out that it lacks all requisites of the caliphate according to classical Islamic law. Supporters of the Ottoman Empire say that this is only one view of Islamic law, and that the Ottomans saved Islam from becoming extinct. What the Ottomans did to Islam may be complicated, but what they did to Egypt is simple.