Al-Muizz Street in Cairo with passers-by walking along the Mamluk façades and minarets of the Qalawun and al-Nasir Muhammad complexes
← Back to blog

Cairo · Egypt

Built for the Passer-by: Mamluk Cairo, 1250–1517

Why the mosques, tombs and gates of Mamluk Cairo were made to be seen from the street

Bab Zuwayla, the Fatimid gate of Cairo, with the two minarets of the Mosque of al-Mu'ayyad on its towers

Bab Zuwayla with the minarets of al-Mu'ayyad on its towers. Photo: Mo Hany.Afife, public domain, via Wikimedia Commons

In April 1517 a prisoner was brought on horseback to the southern gate of Cairo with his legs in irons. He wore Bedouin clothes, because that is how the Ottomans had found him after a Bedouin ally, Hasan al-Mur'i, gave him up. His name was Tumanbay and until his defeat near Giza on 2 April he had been fighting as sultan of Egypt and Syria. The chronicler Ibn Iyas was in the city that spring. He writes that Tumanbay stopped in the gateway and asked the crowd to recite the Fatiha with him three times. Then the Ottomans hanged him there.

The gate is Bab Zuwayla, built in 1092 by the Fatimid vizier Badr al-Jamali. Its two round towers carry two slender minarets three centuries younger than the stone beneath them. They belong to the mosque next door, which the sultan al-Mu'ayyad Shaykh put up between 1415 and 1421 on the site of the city prison. He had once been a prisoner in it himself. According to al-Maqrizi, he swore in his cell that if God ever made him ruler he would pull the prison down and build a mosque in its place.

So the same few metres of street saw one sultan keep a vow and another one die. Neither choice of place was an accident. The sultans' processions passed under this gate on their way to the Citadel, so the buildings around it were made to be seen from the road, by whoever happened to be standing there.

A street you could rent

At the other end of the period, in 1503–04, the sultan Qansuh al-Ghuri built a complex on the main north–south street of Cairo. The mosque stands on one side and his mausoleum with a Sufi lodge on the other, so the road runs straight through the middle of his foundation. Its endowment deed has a line that the MIT architectural historian Nasser Rabbat singles out. The building's edge along the street is jagged, walls stepping forward and back. The public space caught inside that serrated contour is listed in the waqf as rentable space. The deed does not say who paid rent or for what. It does treat the pockets of street between the building's own walls as income for the foundation.

Rabbat builds a whole argument from details like this in his 2014 lecture Staging the City. Much of the street reading below follows it. Earlier and later builders in Cairo took the street as given. Mamluk builders treated its bends, angles and corners as raw material, exaggerating or even inventing them to open a view or claim a bit of space. Patrons "vied with each other to secure the best location that provided maximum street exposure." The commanding sites went to sultans.

The reason they cared so much about being seen lies in who they were. Mamluk means "owned". The sultans of Egypt bought boys abroad, Kipchak Turks from the steppes north of the Black Sea at first and later mostly Circassians from the Caucasus, raised them as Muslim cavalrymen and freed them when their training ended. In 1250 such soldiers took Egypt for themselves. Ten years later at Ain Jalut in Palestine they stopped the Mongol army that had sacked Baghdad and for two and a half centuries Cairo was the capital of an empire reaching into Syria.

The system had a hole at its centre. A mamluk's rank belonged to him alone. His sons were born free and Muslim, so they could never enter the corps the way their fathers had. These awlad al-nas, "sons of the people", became officers, officials and scholars (the historian Ibn Taghribirdi, son of a leading amir, was one, as Amir Mazor shows in Mamluk Studies Review), but the top commands mostly went to newly bought men. There was one great exception. Qalawun, sultan from 1279, founded a dynasty that held the throne for a century and several of the sultans in this article are his sons and grandsons. Even they ruled at the pleasure of the amirs. Children were enthroned, deposed and killed by the men around them.

What a father could pass on with some confidence was property. The instrument was the waqf, a perpetual religious endowment. A founder gave shops, baths, farmland or whole villages to a mosque, a school, a hospital or a Sufi lodge. The income paid teachers, reciters, doctors and lamp oil. It also paid an administrator and the founder could name his own descendants to that post. Waqf was far older than the Mamluks and pious motives were real. Amirs also endowed buildings to protect wealth the state would otherwise take back. The political scientist Lisa Blaydes finds endowed land growing while military land grants shrank, which she reads as a privatising work-around against expropriation.

A Mamluk foundation was therefore a charity, a living for the founder's family and a tomb in one building. The tomb was the part that needed the street. A man who could not count on leaving a dynasty could leave a dome on a busy corner with a grilled window at eye level, where people walking past would glimpse the cenotaph inside and say a prayer for him. The state supplied the audience. On coronation days, religious holidays and after victories the sultan rode in procession, most often by the route Rabbat traces from Bab al-Nasr in the north, down the main street, out through Bab Zuwayla and along al-Darb al-Ahmar up to the Citadel.

The buildings along that route are also signed. Look over the doors and on the window grilles for round shields. These are Mamluk blazons and an amir's emblem showed the court office he had held: a cup for the cupbearer, a napkin for the master of the robes, a pen-box for the secretary, crossed polo sticks for the master of polo. The Kelsey Museum in Michigan has pottery sherds stamped with a cup and a napkin, identified with the help of L. A. Mayer's Saracenic Heraldry of 1933, still the standard reference. Early blazons carry one emblem in a plain circle. Later ones are split into three fields and stack several, often read as offices held one after another, as the curator Filiz Çakır Phillip explains in a talk on their history.

Round epigraphic Mamluk blazon carved with the name of Sultan Qaytbay, Museum of Islamic Art, Cairo

An inscribed blazon with the name of Sultan Qaytbay, late fifteenth century, Museum of Islamic Art, Cairo. Photo: Richard Mortel, CC BY 2.0, via Wikimedia Commons

Between the Two Palaces

Early photograph of the street façade and minaret of the Qalawun complex on al-Muizz Street, Cairo

The street front of the Qalawun complex. Photo: K. A. C. Creswell, public domain, via Wikimedia Commons

The northern stretch of the route was the old heart of Fatimid Cairo, Bayn al-Qasrayn, "Between the Two Palaces", named after the two caliphal palaces that once faced each other there. Rabbat finds that the amirs' religious buildings were apparently not permitted to front it. This was the sultans' street. By 1517 at least ten sultanic complexes lined it and the ministry of antiquities now counts 29 monuments along al-Muizz Street.

The first great Mamluk building here began with an illness. The future sultan Qalawun fell sick in Damascus and was cured with medicine from the hospital Nur al-Din had founded there; he swore to build a hospital in Cairo if he ever came to power. His complex, a hospital, a madrasa and his own domed mausoleum, went up between 683 and 684 of the Hijra, 1284 to 1285 by the building inscription. Thirteen months.

The speed had a price. Al-Maqrizi, writing more than a century later, says the people living on the site were turned out. The amir in charge of the works, Sanjar al-Shuja'i, had passers-by seized and made to work. Hundreds of Mongol prisoners of war laboured beside them. Some jurists then ruled that prayer in a building raised this way was not valid. The Japanese academic team behind the Qalawun VR reconstruction sets his account beside the modern study by Linda Northrup.

The hospital itself became famous. Ibn Battuta saw it in 1326 and wrote, in H. A. R. Gibb's translation, that "no description is adequate to its beauties"; he heard that it took in a thousand dinars a day. Al-Maqrizi gives the endowment income in silver as about a million dirhams a year. Its rules, as later writers record them, admitted any Muslim, soldier or civilian, rich or poor, for as long as treatment took. Patients left with clothes and a little money. Those who died were buried at the endowment's expense. The encyclopaedist al-Nuwayri lists departments for internal diseases, eye diseases, surgery and bone-setting. Little of it survives; the Mediterranean heritage database Qantara records that most of what remained was pulled down in 1910.

What survives is the street front. Stand across al-Muizz from it and look up. The wall is divided into tall pointed recesses with windows grouped in threes, a scheme visitors have compared to a Norman church and which Rabbat traces to the Crusader buildings of Syria that Qalawun's generation spent their careers besieging. The minaret, rebuilt at the top after the earthquake of 1303, rises 56.2 metres by the measurement of K. A. C. Creswell, who also took the photograph above.

Next door the borrowing becomes literal. The Madrasa of al-Nasir Muhammad is entered through a Gothic church portal, white marble with clustered colonnettes under a pointed arch. Qalawun's son al-Ashraf Khalil took Acre, the last major Crusader city on the coast, in 1291 and the portal was carried to Cairo from one of its churches. Which church is still argued. The art historian Iman Abdulfattah calls it the largest piece of Christian spolia in an Islamic building in Cairo and names the amir who brought it back: Sanjar al-Shuja'i, the same man who had press-ganged Qalawun's builders six years before. The madrasa was finished under al-Nasir Muhammad around 1303.

White marble Gothic church portal from Acre set into the façade of the Madrasa of al-Nasir Muhammad, Cairo

The Gothic portal from Acre at the Madrasa of al-Nasir Muhammad. Photo: Martyn Smith, CC BY 3.0, via Wikimedia Commons

Al-Nasir Muhammad was put on the throne as a child, deposed twice and came back each time; his reigns run on and off from 1293 to 1341 and he lies with his father under Qalawun's dome. Under him the city more than doubled in size. By about 1340 it held almost half a million people, the largest city in Africa, Europe and Asia Minor. Ibn Battuta passed on what Cairenes told him about themselves: twelve thousand water-carriers with camels, thirty thousand men hiring out mules and donkeys, thirty-six thousand boats on the Nile.

Half a century after him, in January 1383, Ibn Khaldun arrived. He already had the Muqaddimah behind him and had just turned fifty. His first sight of the city survives in two English versions that might describe two different places. Charles Issawi's, quoted in Britannica, gives "the garden of the world, the gathering place of the nations… the palace of Islam, the seat of dominion." Rabbat translates the same passage as "orchard of the universe, hive of nations, iwan of Islam, throne of royalty… shining on the horizon with khanqahs and madrasas." Only the second one lets you see the domes.

Within months the sultan Barquq, the first of the Circassians, made Ibn Khaldun chief judge of the Maliki school. Barquq's own Madrasa and Khanqah stands beside Qalawun's. Its inauguration inscription names his master of the horse, Jarkas al-Khalili, who in the same years cleared a Fatimid burial ground nearby and built a caravanserai over it. The Khan el-Khalili still carries his name.

In 1956 the street lent its name to a novel. Bayn al-Qasrayn, translated as Palace Walk, opens Naguib Mahfouz's Cairo Trilogy, whose three volumes all take their titles from streets of the Gamaliya quarter where Mahfouz grew up. Its patriarch, al-Sayyid Ahmad, lives within sight of Qalawun's minaret.

A prison under a prayer hall

Prayer hall of the Mosque of Sultan al-Mu'ayyad with marble columns and painted wooden ceiling

The prayer hall of the Mosque of al-Mu'ayyad. Photo: Robert Prazeres, CC BY-SA 4.0, via Wikimedia Commons

Back at the southern gate the route leaves the old Fatimid city. The prison al-Mu'ayyad had sworn to destroy was called the Khizanat Shama'il, after an Ayyubid governor of Cairo. He became sultan in 1412. In 1415 the prison came down and the Mosque of Sultan al-Mu'ayyad began to rise.

His builders faced a problem of visibility. A new mosque squeezed against a Fatimid gate would always be the smaller presence. Their answer was the most audacious move in the city: they set the mosque's two minarets on top of the gate's towers. From then on anyone coming through Bab Zuwayla in either direction walked under al-Mu'ayyad's name. The doors were a second piece of opportunism. Their bronze plating had been made for the mosque of Sultan Hasan, half a century earlier. Al-Mu'ayyad acquired them for his own entrance.

Inside, away from the street, the prayer hall is one of the calmest rooms in old Cairo. Marble columns hold up a painted wooden ceiling and the qibla wall is panelled in coloured stone. The gate and its towers were conserved by the American Research Center in Egypt between 1998 and 2003, according to the ministry. Cairenes also called the gate Bawabat al-Mitwalli, after the tax official who once had his post there. The Scottish painter David Roberts, who drew in Cairo in 1839, used that name in his own spelling for an oil painting of 1843, The Gate of Metawalea, now in the Victoria and Albert Museum.

Two directions at once

Blue and white Ottoman tiles with cypresses and tulips in the Mosque of Aqsunqur, the Blue Mosque, Cairo

Ottoman tiles of 1652–54 on the qibla wall of the Mosque of Aqsunqur. Photo: Marwa elchazly, public domain, via Wikimedia Commons

Outside the gate the procession turned onto al-Darb al-Ahmar, the Red Road, the main way from the city up to the Citadel. It has more than forty registered monuments, most of them Mamluk. This was where the amirs built and their buildings had to solve a problem that the royal street rarely posed so sharply.

A mosque must face Mecca. A street goes where it goes. Al-Darb al-Ahmar bends several times on its way to the Citadel and Cairo offered its builders more than one accepted direction to Mecca. The historian of science David King has shown that the city's mosques followed several qiblas, each with real authority behind it. The oldest, the qibla of the Companions of the Prophet, pointed to sunrise at the winter solstice, about 117 degrees; the first mosque built in Egypt faced that way. From the tenth century the qibla of the astronomers, computed at about 127 degrees, grew popular. In some suburbs builders used anything between the rising and the setting of the star Canopus. Al-Maqrizi gives a passage of his topography of Cairo to the question. A builder chose between respectable answers, then had to reconcile his choice with a street that pointed somewhere else. On al-Darb al-Ahmar you can see three ways of doing it, though they are not neat stages of one development.

The simplest was to follow the street. The Khanqah-Madrasa of Ahmad al-Mihmandar, one of the earliest securely dated buildings here, kept a long straight façade on the street line and let the astronomers' qibla go, a legitimate choice in a city with several sanctioned directions. Its one grand gesture is the ribbed dome over the founder's tomb, placed on the corner where the street turns, exactly where anyone walking down from Bab Zuwayla would see it first.

The Mosque of Aqsunqur, built in 1347, did the reverse and turned its prayer hall to the astronomers' qibla. That left a wedge of ground between the hall and the street. The builders filled it with a near-isosceles triangle and set the founder's domed mausoleum at its tip, nudging into the road. From the pavement you see a regular street front with portal, minaret and dome lined up for inspection; behind it the whole building swings round towards Mecca. Digging the foundations here was grim work. The ground had been a Fatimid cemetery and, al-Maqrizi says, workers kept turning up bones. The mosque of al-Maridani nearby, a few years older, uses the leftover angles in the same way. So does the madrasa that the sultan al-Ashraf Sha'ban built in 1368 for his mother, Khawand Baraka. Both have stepped corners that push the building out into the road and open a little square before the door.

Aqsunqur's mosque is the one visitors now call the Blue Mosque. The blue came three centuries later. In 1652–54 an Ottoman officer, Ibrahim Agha Mustahfizan, restored the building and covered its qibla wall with tiles of cypresses and tulips. It was closed after the earthquake of 1992, conserved by the Aga Khan Trust for Culture with the World Monuments Fund and reopened in May 2015 as part of a larger programme for the quarter; the conservation report is public.

In 1480 the amir Qijmas al-Ishaqi built his mosque on the wedge where al-Darb al-Ahmar forks just south of Bab Zuwayla. The building steps back from the road in three planes. Walking from the gate you meet it gradually and each step back opens a small public pocket in front of the fountain and the portal. Rabbat's phrase for it is "hugging the street".

The mosque that faced the palace

The Mosque-Madrasa of Sultan Hasan in Cairo seen from the square below the Citadel

The Mosque-Madrasa of Sultan Hasan below the Citadel. Photo: Berthold Werner, CC BY 3.0, via Wikimedia Commons

At the foot of the Citadel the Red Road opens into a square. The procession rode on up the hill to the Great Iwan of the palace, where the day ended with a banquet.

Below it on the square stands the building that took the logic of the street furthest. The sultan al-Nasir Hasan, Qalawun's grandson, began it in 1356, eight years after the Black Death had killed up to half of Cairo in one season. The Mosque-Madrasa of Sultan Hasan is in Rabbat's words "the most monumental of all Cairene mosques". It "stands like a fortress across from the Citadel" and its portal is "oriented to impress the viewer coming from the Citadel."

Stand under that portal and look up. The façade climbs 38 metres to a cornice of nine tiers of tiny muqarnas like the edge of a honeycomb. The entrance is a deep recess whose half-dome is filled with cascading muqarnas, ending in a fluted shell. Inside, four vaulted iwans open onto one courtyard, one for each school of Sunni law, each with its own small madrasa behind it. The mausoleum sits behind the qibla wall, on the side that faces the palace.

Hasan had planned four minarets, al-Maqrizi says, two of them as a pair over the entrance. Three were up when, on Saturday 6 Rabi' II 762, in February 1361, the minaret over the gate fell. About three hundred people died under it, most of them orphans from the Qur'an school of the sabil there; six of the orphans survived. The sultan cancelled that minaret and its twin. Cairo talked of an omen for the dynasty and the scholar Baha al-Din al-Subki wrote verses insisting it meant the opposite. A few weeks later Hasan was killed in a revolt led by one of his own mamluks. His body was never recovered. The tomb at the centre of his building holds his son Shihab al-Din Ahmad, who died in 1386.

Enamelled and gilded Mamluk glass mosque lamp of Sultan Hasan in the Victoria and Albert Museum

Enamelled and gilded glass lamp made for Sultan Hasan's mosque, about 1360, Victoria and Albert Museum. Photo: Daderot, CC0, via Wikimedia Commons

What Hasan ordered for the building is now scattered across the world. His enamelled and gilded glass lamps, many inscribed with his name and with the Verse of Light ("God is the light of the heavens and the earth"), form the largest surviving group of Mamluk lamps made for one patron; Smarthistory counts nearly fifty. There are examples at the Victoria and Albert Museum, the Gulbenkian in Lisbon, the Freer in Washington and in Doha, where Qatar Museums catalogue one most probably made for this madrasa. The Museum of Islamic Art in Cairo shows lamps of the same family.

The site that made the building magnificent also made it dangerous. Its roof looks straight into the Citadel. In the century and a half after Hasan's death rebel amirs climbed onto it again and again to shoot at the sultan's residence, with arrows and later with cannon, according to Ibn Taghribirdi and Ibn Iyas. Sultans had the stairs pulled down and the doors walled up. It never fully worked.

Roberts drew the mosque from the square in the 1830s; his lithograph is in the Cleveland Museum of Art and the Fitzwilliam, while the University of Michigan has his Grand Entrance, the portal drawn as a cliff with tiny figures at its foot. Next to it now rises the al-Rifa'i Mosque, finished in 1912 in the same stone and at the same scale. When Egypt's modern royal family wanted a building on this square, it built a Mamluk one.

Houses for the dead

Courtyard of the Khanqah of Faraj ibn Barquq with its twin minarets and domes, northern cemetery of Cairo

The courtyard of the Khanqah of Faraj ibn Barquq in the northern cemetery. Photo: Robert Prazeres, CC BY-SA 4.0, via Wikimedia Commons

East of the walls lay the desert where Cairenes buried their dead, al-Qarafa. Ibn Battuta found it already half a town. People there, he writes, "build beautiful pavilions surrounded by walls, so that they look like houses" and hire Qur'an readers "who recite night and day in agreeable voices."

Barquq asked to be buried out here rather than in his madrasa on Bayn al-Qasrayn and his son Faraj built the tomb. The Khanqah of Faraj ibn Barquq, dated by its inscription to 1411, is a square of about 85 metres a side in which almost everything comes in pairs: two minarets, two domed mausoleums, two public fountains. Rabbat calls it the first urban intervention in the cemetery.

Sixty years later Sultan Qaytbay, who ruled from 1468 to 1496, built his funerary complex in the same northern cemetery. It was begun in 1472 and the dome, by its inscription, finished in 1474. Even here the founder planned for the passer-by. The entrance front is arranged as if for a city street, with a public fountain on one side of the door, the minaret on the other and a Qur'an school above the entrance. Behind them rises the dome that is usually called the peak of Cairene stone carving. The carvers cut two patterns into the same curved stone: a geometric star in sharp-edged bands and, under it and through it, a soft floral arabesque. They interlock and each stays legible from the ground. Christel Kessler's 1976 study, The Carved Masonry Domes of Mediaeval Cairo, follows these domes from the first plain ribbed ones up to this. Inside, nine tiers of muqarnas carry the square room up to the circle.

Carved stone dome of the funerary complex of Sultan Qaytbay with a geometric star over a floral arabesque

The carved stone dome of Qaytbay. Photo: Robert Prazeres, CC BY-SA 3.0, via Wikimedia Commons

Less than half of the medieval monuments of the northern cemetery still stand. The living have gone on doing what Ibn Battuta described. Families make homes in al-Qarafa, the area guidebooks call the City of the Dead, some of them in rooms inside walled tomb enclosures. Estimates of how many people live there, made in different decades and by different methods, run from under two hundred thousand to over a million. In 2020 the state began clearing parts of the historic cemeteries for new roads against protests from families and heritage specialists; some demolitions were halted and others went ahead. These are homes and family graves at once. Go with someone who knows the area and ask before photographing anyone's door.

The procession stops

In 1516 al-Ghuri, the sultan whose deed had rented out the street between its walls, rode north to meet the Ottomans at Marj Dabiq near Aleppo. One of his senior amirs, Khayrbek, went over to the enemy during the battle. Al-Ghuri died on the field. The Portuguese route round Africa to India, opened in 1497–99, had already begun to drain the spice trade that had paid for so much of this building.

Khayrbek was rewarded with Egypt, as its first Ottoman governor. Cairenes turned his name around. Khayr means "good"; khāʾin means "traitor". In Rabbat's account they called him Khayen Bek, Traitor Bek. His complex on al-Darb al-Ahmar straddles the conquest. In 1502, still a Mamluk amir, he had built a funerary dome there with no mosque attached and joined it to the palace he had taken over by "an elaborate stepped secret passage", a gesture Rabbat reads as unusual arrogance. Around 1520, now governing for Istanbul, he added a mosque and school; the waqf for the whole complex is dated 1521. The dome is turned to the qibla and the mosque is not. One clause in the deed, noted by the historian Doris Behrens-Abouseif, may explain the caution: the new madrasa was to have no Friday sermon. A Friday sermon would have had to name the Ottoman sultan. Rabbat links this to the fate of a fellow defector, Janbirdi al-Ghazali, whose revolt in Syria was crushed in February 1521. He is careful to call his reading a hypothesis.

Ibn Iyas recorded the dismay in Cairo when notables and craftsmen were shipped off to Istanbul. The craftsmen, he says, were gathered in al-Ghuri's mosque to be chosen. Four and a half centuries later the novelist Gamal al-Ghitani built Zayni Barakat, a novel of al-Ghuri's Cairo told through spies' reports, decrees and diaries, out of that same chronicle; the Arab British Centre notes how much he took from Ibn Iyas. Europe kept its own record. In 1584 the French cosmographer André Thevet printed a portrait of Tumanbay in a book of famous men, a picture the historian Marcus Milwright has traced back to its sources.

Cairo did not stop building. Ottoman governors and officers endowed mosques, fountains and schools for three centuries; the tiles in Aqsunqur's mosque are theirs. What ended was narrower. "The practice of endowing flamboyant amirial religious buildings along al-Darb al-Ahmar," Rabbat writes, "came to an abrupt end after the complex of Khayer Bek." Cairo was now a provincial capital, run by governors sent from Istanbul for short terms. "Subordinate status is not conducive to either pompous processions or grand architectural gestures." The great processions up the Red Road were over.

The last Mamluk sultan had come to Bab Zuwayla in irons. Tumanbay's body hung in the gateway for three days. Then it was taken a few hundred metres up the street and buried in al-Ghuri's madrasa, the foundation whose deed had listed the street between its walls as rentable. Walk that stretch today from the gate towards the Citadel, past Qijmas's stepped corners, Aqsunqur's triangle and Khayrbek's turned dome, to the square where Hasan's portal faces the palace. The façades still turn towards you one after another.

If you walk it

Start at Bab al-Futuh or Bab al-Nasr in the north and follow al-Muizz Street south past Barquq, al-Nasir Muhammad and Qalawun, then al-Ghuri's complex where the street crosses al-Azhar Road. Climb Bab Zuwayla if the minarets are open and visit al-Mu'ayyad beside it. Then turn onto al-Darb al-Ahmar for Qijmas, al-Maridani, Aqsunqur and Khayrbek, ending at Sultan Hasan and al-Rifa'i below the Citadel. Allow a full day on foot, more if you go inside. The northern cemetery, with Faraj ibn Barquq and Qaytbay, is a separate trip by car. Check opening hours on each place's page before you go.

Cover: al-Muizz Street, Cairo. Photo: Mohammed Ali Moussa, CC BY-SA 4.0, via Wikimedia Commons

Related reading

In series