{{short description|Part of central Cairo around the old walled city}} {{Infobox UNESCO World Heritage Site | WHS = Historic Cairo | image = Flickr - archer10 (Dennis) - Egypt-13A-061.jpg | image_upright= 1.1 | caption =Historic buildings around Salah al-Din Square, near the Cairo Citadel | location = Cairo Governorate, Egypt | includes = {{flatlist| #Al-Fustat #Mosque of Ahmed Ibn Tulun, The Citadel Area, The Fatimid Nucleus of Cairo, Necropolis #Al-Imam ash-Shaf'i Necropolis #As-Sayyidah Nafisah Necropolis #Qayitbay Necropolis }} | ID = 89 | coordinates= {{coord|30|02|45.61|N|31|15|45.78|E|source:ptwiki_region:EG|display=title, inline|format=dms}} | year = 1979 | area = {{convert|523.66|ha|acre|abbr=on}} | locmapin = Egypt Nile Delta | map_caption= |Criteria={{UNESCO WHS type|(i), (v), (vi)}}(i), (v), (vi)}} '''Islamic Cairo''' ({{langx|arz|قاهرة المعز|Qāhira al-Muʿizz|lit=Al-Mu'izz's Cairo}}), or '''Medieval Cairo''', officially '''Historic Cairo''' (القاهرة التاريخية ''el-Qāhira tārīkhiyya''), refers mostly to the areas of Cairo, Egypt, that were built from the Muslim conquest in 641 CE until the city's modern expansion in the 19th century during Khedive Ismail's rule, namely: the central parts within the old walled city, the historic cemeteries, the area around the Citadel of Cairo, parts of Bulaq, and Old Cairo ({{Langx|ar|مصر القديمة|lit=Misr al-Qadima|links=no}}) which dates back to Roman times and includes major Coptic Christian monuments.<ref>{{Cite book |url=http://urbanharmony.org/download/pdf/islamic_cairo_boundries2022.pdf |title=The Boundaries and Preservation Codes of Historic Cairo |publisher=National Organisation for Urban Harmony |year=2022 |language=Ar}}</ref><ref>{{Cite web |last= |first= |title=Historic Cairo – Maps |url=https://whc.unesco.org/en/list/89/ |access-date=2023-02-19 |website=UNESCO World Heritage Centre |language=en}}</ref>

The name "Islamic" Cairo refers not to a greater prominence of Muslims in the area but rather to the city's rich history and heritage since its foundation in the early period of Islam, while distinguishing it from with the nearby Ancient Egyptian sites of Giza and Memphis.<ref name=":1" /><ref>{{Cite web|url=https://www.lonelyplanet.com/egypt/cairo/in-location/sights/dd273f3d-f2fc-46fa-9721-65ef190478a2/a/nar/dd273f3d-f2fc-46fa-9721-65ef190478a2/355225|title=Islamic Cairo in Cairo, Egypt|last=Planet|first=Lonely|website=Lonely Planet|language=en|access-date=2019-11-18}}</ref> This area holds one of the largest and densest concentrations of historic architecture in the Islamic world.<ref name=":1" />{{Rp|7}} It is characterized by hundreds of mosques, tombs, madrasas, mansions, caravanserais, and fortifications dating from throughout the Islamic era of Egypt.

In 1979, UNESCO proclaimed ''Historic Cairo'' a World Cultural Heritage site, as "one of the world's oldest Islamic cities, with its famous mosques, madrasas, hammams and fountains" and "the new centre of the Islamic world, reaching its golden age in the 14th century."<ref>UNESCO, [https://whc.unesco.org/en/list/89 ''Decision Text''], World Heritage Centre, retrieved 21 July 2017</ref>

== History == === The foundation of Fustat and the early Islamic era === thumb|The excavated remains of Fustat in 2009|alt=|left

The history of Cairo begins, in essence, with the conquest of Egypt by Muslim Arabs in 640, under the commander 'Amr ibn al-'As.<ref name="Raymond1993" /> Although Alexandria was the capital of Egypt at that time (and had been throughout the Ptolemaic, Roman, and Byzantine periods), the Arab conquerors decided to establish a new city called Fustat to serve as the administrative capital and military garrison center of Egypt. The new city was located near a Roman-Byzantine fortress known as Babylon on the shores of the Nile (now located in Old Cairo), southwest of the later site of Cairo proper (see below). The choice of this location may have been due to several factors, including its slightly closer proximity to Arabia and Mecca, the fear of strong remaining Christian and Hellenistic influence in Alexandria, and Alexandria's vulnerability to Byzantine counteroffensives arriving by sea (which did indeed occur).<ref name="Raymond1993">Raymond, André. 1993. ''Le Caire''. Fayard.</ref><ref name=":3">{{Cite book|title=The Great Arab Conquests: How the Spread of Islam Changed the World We Live In|last=Kennedy|first=Hugh|publisher=Weidenfeld & Nicolson|year=2007}}</ref> Perhaps even more importantly, the location of Fustat at the intersection of Lower Egypt (the Nile Delta) and Upper Egypt (the Nile Valley further south) made it a strategic place from which to control a country that was centered on the Nile river, much as the Ancient Egyptian city of Memphis (located just south of Cairo today) had done.<ref name="Raymond1993" /><ref name=":3" /> (The pattern of founding new garrison cities inland was also one that was repeated throughout the Arab conquests, with other examples such as Qayrawan in Tunisia or Kufa in Iraq.<ref name=":3" />) The foundation of Fustat was also accompanied by the foundation of Egypt's (and Africa's) first mosque, the Mosque of 'Amr ibn al-'As, which has been much rebuilt over the centuries but still exists today.<ref name=":1" />

Fustat quickly grew to become Egypt's main city, port, and economic center, with Alexandria becoming more of a provincial city.<ref name=":3" /> In 661 the Islamic world came under the control of the Umayyads, based in their capital at Damascus, until their overthrow by the Abbasids in 750. The last Umayyad caliph, Marwan II, made his last stand in Egypt but was killed on August 1, 750.<ref name="Raymond1993" /> Thereafter Egypt, and Fustat, passed under Abbasid control. The Abbasids marked their new rule in Egypt by founding a new administrative capital called al-'Askar, slightly northeast of Fustat, under the initiative of their governor Abu 'Aun. The city was completed with the foundation of a grand mosque (called ''Jami' al-'Askar'') in 786, and included a palace for the governor's residence, known as the ''Dar al-'Imara.''<ref name="Raymond1993" /> Nothing of this city remains today, but the foundation of new administrative capitals just outside the main city became a recurring pattern in the history of the area. [[File:Kairo Ibn Tulun Moschee BW 5.jpg|thumb|upright=1.2|The Mosque of Ibn Tulun, built in the 9th century. It is a rare and outstanding example of preserved Abbasid architecture outside Iraq.|alt=]] Ahmad Ibn Tulun was a Turkish military commander who had served the Abbasid caliphs in Samarra during a long crisis of Abbasid power.<ref name=":4">{{Cite book|title=Ibn Tulun: His Lost City and Great Mosque|last=Swelim|first=Tarek|publisher=The American University in Cairo Press|year=2015}}</ref> He became governor of Egypt in 868 but quickly became its ''de facto'' independent ruler, while still acknowledging the Abbasid caliph's symbolic authority. He grew so influential that the caliph later allowed him to also take control of Syria in 878.<ref name="Raymond1993" /> During this period of Tulunid rule (under Ibn Tulun and his sons), Egypt became an independent state for the first time since Roman rule was established in 30 BC.<ref name="Raymond1993" /> Ibn Tulun founded his own new administrative capital in 870, called al-Qata'i, just northwest of al-Askar. It included a new grand palace (still called ''Dar al-'Imara''), a hippodrome or military parade ground, amenities such as a hospital (bimaristan), and a great mosque which survives to this day, known as the Mosque of Ibn Tulun, built between 876 and 879.<ref name=":4" /><ref name="Raymond1993" /> Ibn Tulun died in 884 and his sons ruled for a few more decades until 905 when the Abbasids sent an army to reestablish direct control and burned al-Qata'i to the ground, sparing only the mosque.<ref name="Raymond1993" /> After this, Egypt was ruled for a while by another dynasty, the Ikhshidids, who ruled as Abbasid governors between 935 and 969. Some of their constructions, particularly under Abu al-Misk Kafur, a black eunuch (originally from Ethiopia) who ruled as regent during the later part of this period, may have influenced the future Fatimids' choice of location for their capital, since one of Kafur's great gardens along the Khalij canal was incorporated into the later Fatimid palaces.<ref name="Raymond1993" />

=== The founding of al-Qahira (Cairo) and the Fatimid period === [[File:Cairo, porte settentrionali, 01.JPG|thumb|Bab al-Futuh, one of the northern gates of Cairo built by the Fatimid vizier Badr al-Jamali in the late 11th century|left]]

The Fatimids, an Isma'ili Shi'a caliphate which was based in Ifriqiya (Tunisia), conquered Egypt in 969 CE during the reign of Caliph al-Mu'izz. Their army, composed mostly of North African Kutama Berbers, was led by the general Jawhar al-Siqilli. In 970, under instructions from al-Mu'izz, Jawhar planned, founded, and constructed a new city to serve as the residence and center of power for the Fatimid Caliphs. The city was named ''al-Mu'izziyya al-Qaahirah'' ({{langx|ar|المعزية القاهرة}}), the "Victorious City of al-Mu'izz", later simply called "al-Qahira", which gave us the modern name of Cairo.<ref name=":22">{{Cite book|title=The Fatimid Empire|last=Brett|first=Michael|publisher=Edinburgh University Press|year=2017|location=Edinburgh}}</ref>{{rp|80}}[[File:Al-Azhar (inside) 2006.jpg|thumb|Al-Azhar Mosque, founded by the Fatimids in 972. (The minarets were added later during the Mamluk period.)]]The city was located northeast of Fustat and of the previous administrative capitals built by Ibn Tulun and the Abbasids. Jawhar organized the new city so that at its center were the Great Palaces that housed the caliphs, their household, and the state's institutions.<ref name="Raymond1993" /> Two main palaces were completed: an eastern one (the largest of the two) and a western one, between which was an important plaza known as ''Bayn al-Qasrayn'' ("Between the Two Palaces"). The city's main mosque, the Mosque of al-Azhar, was founded in 972 as both a Friday mosque and as a center of learning and teaching, and is today considered one of the oldest universities in the world.<ref name=":1" /> The city's main street, known today as ''Al-Mu'izz li-Din Allah'' Street (or al-Mu'zz street) but historically referred to as the ''Qasabah'' or Qasaba, ran from one of the northern city gates (Bab al-Futuh) to the southern gate (Bab Zuweila) and passed between the palaces via Bayn al-Qasrayn. Under the Fatimids, however, Cairo was a royal city which was closed to the common people and inhabited only by the Caliph's family, state officials, army regiments, and other people necessary to the operations of the regime and its city. Fustat remained for some time the main economic and urban center of Egypt. It was only later that Cairo grew to absorb other local cities, including Fustat, but the year 969 is sometimes considered the "founding year" of the current city.<ref>{{cite web|url=http://www.saudiaramcoworld.com/issue/196905/cairo-a.millennial.htm|title=Cairo, a Millennial|access-date=2007-08-09|author=Irene Beeson|pages=24, 26–30 |date=September–October 1969|publisher=Saudi Aramco World}}</ref>

Al-Mu'izz, and with him the administrative apparatus of the Fatimid Caliphate, left his former capital of Mahdia, Tunisia, in 972 and arrived in Cairo in June 973.<ref name=":22" /><ref name="Raymond1993" /> The Fatimid Empire quickly grew powerful enough to stand as a threat to the rival Sunni Abbasid Caliphate. During the reign of Caliph al-Mustansir (1036–1094), the longest of any Muslim ruler, the Fatimid Empire reached its peak but also began its decline.<ref>{{Cite web|url=https://www.britannica.com/topic/Fatimid-dynasty|title=Fāṭimid Dynasty {{!}} Islamic dynasty|website=Encyclopedia Britannica|language=en|access-date=2019-11-16}}</ref> A few strong viziers, acting on behalf of the caliphs, managed to revive the empire's power on occasion. The Armenian vizier Badr al-Jamali (in office from 1073–1094) notably rebuilt the walls of Cairo in stone, with monumental gates, the remains of which still stand today and were expanded under later Ayyubid rule.<ref name="Raymond1993" /> The late 11th century was also a time of major events and developments in the region. It was at this time that the Great Seljuk (Turkish) Empire took over much of the eastern Islamic world. The arrival of the Turks, who were mainly Sunni Muslims, was a long-term factor in the so-called "Sunni Revival" which reversed the advance of the Fatimids and of Shi'a factions in the Middle East.<ref>{{Cite book|title=The Middle East: A Brief History of the Last 2,000 Years|last=Lewis|first=Bernard|publisher=Scribner|year=1995}}</ref> In 1099 the First Crusade captured Jerusalem, and the new Crusader states became a sudden and serious threat to Egypt. New Muslim rulers such as Nur al-Din of the Turkish Zengid dynasty took charge of the overall offensive against the Crusaders.

In the 12th century the weakness of the Fatimids became so severe that under the last Fatimid Caliph, al-'Adid, they requested help from the Zengids to protect themselves from the King of Jerusalem, Amalric, while at the same time attempting to collude with the latter to keep the Zengids in check.<ref name=":22" /> In 1168, as the Crusaders marched on Cairo, the Fatimid vizier Shawar, worried that the unfortified city of Fustat would be used as a base from which to besiege Cairo, ordered its evacuation and then set the city ablaze. While historians debate the extent of the destruction (as Fustat appears to have continued to exist after this), the burning of Fustat nonetheless marks a pivotal moment in the decline of that city, which was later eclipsed by Cairo itself.<ref name="Raymond1993" /><ref name=":13">{{Cite book|title=Le Khan al-Khalili et ses environs: Un centre commercial et artisanal au Caire du XIIIe au XXe siècle|publisher=Institut français d'archéologie orientale|year=1999|editor-last=Denoix|editor-first=Sylvie|location=Cairo|editor-last2=Depaule|editor-first2=Jean-Charles|editor-last3=Tuchscherer|editor-first3=Michel}}</ref> Eventually, Salah ad-Din (Saladin), a Zengid commander who was given the position of al-'Adid's vizier in Cairo, declared the end and dismantlement of the Fatimid Caliphate in 1171. Cairo thus returned to Sunni rule, and a new chapter in the history of Egypt, and of Cairo's urban history, opened.

=== Cairo's ascendance in the Ayyubid and Mamluk periods === [[File:Flickr - HuTect ShOts - Citadel of Salah El.Din and Masjid Muhammad Ali قلعة صلاح الدين الأيوبي ومسجد محمد علي - Cairo - Egypt - 17 04 2010 (4).jpg|thumb|The Citadel of Salah ad-Din (Saladin), founded in 1176 and further developed by other rulers after him. The 19th-century Mosque of Muhammad Ali is visible overlooking its walls.|left]]

Salah ad-Din's reign marked the beginning of the Ayyubid dynasty, which ruled over Egypt and Syria and carried forward the fight against the Crusaders. He also embarked on the construction of an ambitious new fortified Citadel (the current Citadel of Cairo) further south, outside the walled city, which would house Egypt's rulers and state administration for many centuries thereafter. This ended Cairo's status as an exclusive palace-city and started a process by which the city became an economic center inhabited by common Egyptians and open to foreign travelers.<ref name=":13"/> Over the subsequent centuries, Cairo developed into a full-scale urban center. The decline of Fustat over the same period paved the way for its ascendance. The Ayyubid sultans and their Mamluk successors, who were Sunni Muslims eager to erase the influence of the Shi'a Fatimids, progressively demolished and replaced the great Fatimid palaces with their own buildings.<ref name="Raymond1993" /> The Al-Azhar Mosque was converted to a Sunni institution, and today it is the foremost center for the study of the Qur'an and Islamic law in the Sunni Islamic world.<ref name=":1" />

In 1250 the Ayyubid dynasty faltered and power transitioned to a regime controlled by the Mamluks. The mamluks were soldiers who were purchased as young slaves (often from various regions of Central Eurasia) and raised to serve in the army of the sultan. They became a mainstay of the Ayyubid military under Sultan al-Salih and eventually became powerful enough to assume control of the state for themselves in a political crisis during the Seventh Crusade. Between 1250 and 1517, the throne passed from one mamluk to another in a system of succession that was generally non-hereditary, but also frequently violent and chaotic. Nonetheless, the Mamluk Empire continued many aspects of the Ayyubid Empire before it, and was responsible for repelling the advance of the Mongols in 1260 (most famously at the Battle of Ain Jalut) and for putting a final end to the Crusader states in the Levant.<ref>{{Cite book|title=L'Égypte des Mamelouks: L'empire des esclaves, 1250–1517|last=Clot|first=André|publisher=Perrin|year=1996}}</ref>

{{Multiple image | align = | direction = | total_width = 440 | image1 = Mosque-Madrassa of Sultan Hassan (4).jpg | alt1 = | caption1 = The monumental Madrasa-mosque of Sultan Hasan, Bahri Mamluk period, mid-14th century | image2 = Dome of Qaytbay complex.jpg | caption2 = The dome of Sultan Qaytbay's complex in the Northern Cemetery, Burji Mamluk period, late 15th century }} Under the reign of the Mamluk sultan al-Nasir Muhammad (1293–1341, including interregnums), Cairo reached its apogee in terms of population and wealth.<ref name="Raymond1993" /> A commonly-cited estimate of the population towards the end of his reign, although difficult to evaluate, gives a figure of about 500,000, making Cairo the largest city in the world outside China at the time.<ref>{{Cite book|title=Cairo: 1001 Years of the City Victorious|last=Abu-Lughod|first=Janet|publisher=Princeton University Press|year=1971|pages=37}}</ref><ref>{{Cite book|title=Encyclopedia of African History|last=Shillington|first=Kevin|publisher=Taylor & Francis|year=2005|volume=I|pages=342}}</ref> Despite being a largely military caste, the Mamluks were prolific builders and sponsors of religious and civic buildings. An extensive number of Cairo's historical monuments date from their era, including many of the most impressive.<ref name="Raymond1993" /><ref name=":1" /> The city also prospered from the control of trade routes between the Indian Ocean and the Mediterranean.<ref name="Raymond1993" /> After the reign of al-Nasir, however, Egypt and Cairo were struck by repeated epidemics of the plague, starting with the Black Death in the mid-14th century. Cairo's population declined and took centuries to recover, but it remained the major metropolis of the Middle East.<ref name="Raymond1993" />

Under the Ayyubids and the later Mamluks, the Qasaba avenue became a privileged site for the construction of religious complexes, royal mausoleums, and commercial establishments, usually sponsored by the sultan or members of the ruling class. This is also where the major souqs of Cairo developed, forming its main economic zone of international trade and commercial activity.<ref name="Raymond1993" /><ref name=":1" /> As the main street became saturated with shops and space for further development there ran out, new commercial structures were built further east, close to al-Azhar Mosque and to the shrine of al-Hussein, where the souq area of Khan al-Khalili, still present today, progressively developed.<ref name=":13"/> One important factor in the development of Cairo's urban character was the growing number of ''waqf'' establishments, especially during the Mamluk period. Waqfs were charitable trusts under Islamic law which set out the function, operations, and funding sources of the many religious/civic establishments built by the ruling elite. They were typically drawn up to define complex religious or civic buildings which combined various functions (e.g. mosque, madrasa, mausoleum, sebil) and which were often funded with revenues from urban commercial buildings or rural agricultural estates.<ref name=":2">Behrens-Abouseif, Doris. 2007. ''Cairo of the Mamluks: A History of Architecture and its Culture''. Cairo: The American University in Cairo Press.</ref> By the late 15th century Cairo also had high-rise mixed-use buildings (known as a ''rab''', a ''khan'' or a ''wikala'', depending on exact function) where the two lower floors were typically for commercial and storage purposes and the multiple stories above them were rented out to tenants.<ref>{{Cite book|title=Traditional Islamic principles of built environment|first=Hisham|last=Mortada|publisher=Routledge|year=2003|isbn=0-7007-1700-5|page=viii}}</ref>

=== Cairo as a provincial capital of the Ottoman Empire === [[File:Rue du Caire. Quartier Toulon - Bonfils. LCCN2004668077.jpg|thumb|upright=0.8|Traditional residences in Cairo fronted by ''mashrabiyya'' windows (1867 photo)|alt=]] Egypt was conquered by the Ottoman Empire in 1517, under Selim I, and remained under Ottoman rule for centuries. During this period, local elites fought ceaselessly among themselves for political power and influence; some of them of Ottoman origin, others from the Mamluk caste which continued to exist as part of the country's elites despite the demise of the Mamluk sultanate.<ref name="Raymond1993" />

Cairo continued to be a major economic center and one of the empire's most important cities. It remained the principal staging point for the pilgrimage (''Hajj'') route to Mecca.<ref name="Raymond1993" /> While the Ottoman governors were not major patrons of architecture like the Mamluks, Cairo nonetheless continued to develop and new neighbourhoods did grow outside the old city walls.<ref name="Raymond1993" /><ref name=":1" /> Ottoman architecture in Cairo continued to be heavily influenced and derived from the local Mamluk-era traditions rather than presenting a clear break with the past.<ref name=":1" /> Some individuals, such as Abd ar-Rahman Katkhuda al-Qazdaghli, a mamluk official among the Janissaries in the 18th century, were prolific architectural patrons.<ref name="Raymond1993" /><ref name=":1" /> Many old bourgeois or aristocratic mansions that have been preserved in Cairo today date from the Ottoman period, as do a number of sabil-kuttabs (a combination of water distribution kiosk and Qur'anic reading school).<ref name=":1" />

=== Cairo under Muhammad Ali Pasha and the Khedives === [[File:Description de l'Egypte - Etat Moderne - Pl 26.jpg|thumb|Detailed map of Cairo from the ''Description de l'Égypte'', {{Circa|1802}}|left]]Napoleon's French army briefly occupied Egypt from 1798 to 1801, after which an Albanian officer in the Ottoman army named Muhammad Ali Pasha made Cairo the capital of an independent empire that lasted from 1805 to 1882. The city then came under British control until Egypt was granted its independence in 1922.[[File:DSC01004-1-2.jpg|thumb|upright=0.8|Sabil of Isma'il Pasha, commissioned by Muhammad Ali Pasha in 1828]]Under Muhammad Ali's rule the Citadel of Cairo was completely refurbished. Many of its disused Mamluk monuments were demolished to make way for his new mosque (the Mosque of Muhammad Ali) and other palaces. Muhammad Ali's dynasty also introduced a more purely Ottoman style of architecture, mainly in the late Ottoman Baroque style of the time.<ref name=":1" /> One of his grandsons, Isma'il, as Khedive between 1864 and 1879, oversaw the construction of the modern Suez Canal. Along with this enterprise, he also undertook the construction of a vast new city in European style to the north and west of the historic center of Cairo. The new city emulated Haussman's 19th-century reforms of Paris, with grand boulevards and squares being part of the planning and layout.<ref name="Raymond1993" /> Although never fully completed to the extent of Isma'il's vision, this new city composes much of Downtown Cairo today. This left the old historic districts of Cairo, including the walled city, relatively neglected. Even the Citadel lost its status as the royal residence when Isma'il moved to the new Abdin Palace in 1874.<ref name=":1" />

== Historic sites and monuments == alt=|left|thumb|Map of historic Cairo, overlaid with present road network, with most of the main surviving monuments indicated.

=== Mosques === While the first mosque in Egypt was the Mosque of Amr ibn al-As in Fustat, the Mosque of Ibn Tulun is the oldest mosque to retain its original form and is a rare example of Abbasid architecture, from the classical period of Islamic civilization. It was built in 876–879 AD in a style inspired by the Abbasid capital of Samarra in Iraq.<ref name=":1">{{Cite book|title=Islamic Monuments in Cairo: The Practical Guide|last=Williams|first=Caroline|publisher=The American University in Cairo Press|year=2018|edition=7th|location=Cairo}}</ref> It is one of the largest mosques in Cairo and is often cited as one of the most beautiful.<ref name=":1" /><ref>O'Neill, Zora et al. 2012. ''Lonely Planet: Egypt'' (11th edition), p. 87.</ref>

One of the most important and lasting institutions founded in the Fatimid period was the Mosque of al-Azhar, founded in 970 AD, which competes with the Qarawiyyin in Fes for the title of oldest university in the world.<ref name=":1" /> Today, al-Azhar University is the foremost center of Islamic learning in the world and one of Egypt's largest universities with campuses across the country.<ref name=":1" /> The mosque itself retains significant Fatimid elements but has been added to and expanded in subsequent centuries, notably by the Mamluk sultans Qaitbay and al-Ghuri and by Abd al-Rahman Katkhuda in the 18th century. Other extant monuments from the Fatimid era include the large Mosque of al-Hakim, the al-Aqmar mosque, Juyushi Mosque, Lulua Mosque, and the Mosque of Salih Tala'i. [[File:Bazaar of the Silk Mercers in Cairo Wellcome L0021542.jpg|thumb|Ghuriya buildings and the market street in between them, painted by David Roberts in 1839.]] The most prominent architectural heritage of medieval Cairo, however, dates from the Mamluk period, from 1250 to 1517 AD. The Mamluk sultans and elites were eager patrons of religious and scholarly life, commonly building religious or funerary complexes whose functions could include a mosque, madrasa, khanqah (for Sufis), water distribution centers (sabils), and mausoleum for themselves and their families.<ref name=":2" /> Among the best-known examples of Mamluk monuments in Cairo are the huge Mosque-Madrasa of Sultan Hasan, the Mosque of Amir al-Maridani, the Mosque of Sultan al-Mu'ayyad (whose twin minarets were built above the gate of Bab Zuwayla), the Sultan Al-Ghuri complex, the funerary complex of Sultan Qaytbay in the Northern Cemetery, and the trio of monuments in the Bayn al-Qasrayn area comprising the complex of Sultan al-Mansur Qalawun, the Madrasa of al-Nasir Muhammad, and the Madrasa of Sultan Barquq. Some mosques include spolia (often columns or capitals) from earlier buildings built by the Romans, Byzantines, or Copts.<ref name=":1" />

=== Shrines and mausoleums === Islamic Cairo is also the location of several important religious shrines such as the al-Hussein Mosque (whose shrine is believed to hold the head of Husayn ibn Ali), the Mausoleum of Imam al-Shafi'i (founder of the Shafi'i madhhab, one of the primary schools of thought in Sunni Islamic jurisprudence), the Tomb of Sayyida Ruqayya, the Mosque of Sayyida Nafisa, and others.<ref name=":1" /> Some of these shrines are located within the vast cemetery areas known as the City of the Dead or ''al-Qarafa'' in Arabic, which adjoin the historic city. The cemeteries date back to the foundation of Fustat, but many of the most prominent and famous mausoleum structures are from the Mamluk era.<ref name=":0">{{Cite book|title=Architecture for the Dead: Cairo's Medieval Necropolis|last1=El Kadi|first1=Galila|last2=Bonnamy|first2=Alain|publisher=The American University in Cairo Press|year=2007|location=Cairo}}</ref>

=== Walls and gates === {{Main|Fortifications of Cairo}} thumb|Part of the preserved Fatimid northern wall near Bab al-Futuh, built in the late 11th century When Cairo was founded as a palace-city in 969 by the Fatimid Caliphate, Gawhar al-Siqilli, a Fatimid general, led the construction of the city's original walls out of mudbrick.<ref name=":02">{{Cite book |last=Warner |first=Nicholas |url=http://worldcat.org/oclc/929659618 |title=The monuments of historic Cairo : a map and descriptive catalogue |publisher=The American University in Cairo Press |year=2005 |isbn=977-424-841-4 |oclc=929659618}}</ref><ref name=":8">{{Cite journal |last=Pradines |first=Stephane |date=2002 |title=La muraille ayyoubide du Caire : les fouilles archéologiques de Bâb al-Barqiyya à Bâb al-Mahrûq |url=https://www.academia.edu/2070837 |journal=Annales Islamologiques |location=Cairo |publisher=Institut français d'archéologie orientale (IFAO) |volume=36 |pages=288}}</ref> Later, during the late 11th century, the Fatimid vizier Badr al-Gamali ordered a reconstruction of the walls primarily out of stone and further outward than before to expand the space within Cairo's walls.<ref name=":02" />

[[File:Bab al-Nasr DSCF9983 (retouched).jpg|thumb|Bab al-Nasr, one of the preserved Fatimid gates, dated to 1087|left]]Many gates existed along the walls of Fatimid Cairo, but only three remain today: Bab al-Nasr, Bab al-Futuh, and Bab Zuwayla (with "Bab" translating to "gate").<ref name=":14">{{Cite journal |last1=Salcedo-Galera |first1=Macarena |last2=García-Baño |first2=Ricardo |date=2022-09-01 |title=Stonecutting and Early Stereotomy in the Fatimid Walls of Cairo |journal=Nexus Network Journal |language=en |volume=24 |issue=3 |pages=657–672 |doi=10.1007/s00004-022-00611-1 |issn=1522-4600 |doi-access=free |hdl-access=free |hdl=10317/12232}}</ref><ref name=":32">{{Cite journal |last=Kay |first=H. C. |date=1882 |title=Al Kāhirah and Its Gates |url=https://www.jstor.org/stable/25196925 |journal=Journal of the Royal Asiatic Society of Great Britain and Ireland |volume=14 |issue=3 |pages=229–245 |doi=10.1017/S0035869X00018232 |jstor=25196925 |s2cid=164159559 |issn=0035-869X|url-access=subscription }}</ref> A restoration project from 2001 to 2003 successfully restored the three gates and parts of the northern wall between Bab al-Nasr and Bab al-Futuh.<ref name=":02" /> Bab al-Nasr and Bab al-Futuh are both are on the northern section of the wall, about two hundred yards from each other.<ref name=":32" /> The third surviving gate, Bab Zuwayla, sits in the southern section of the wall and is topped by two minarets that were added in the 15th century.<ref name=":02" />

[[File:Ayyubid Wall Al-Azhar Park Cairo 01-2006.jpg|thumb|Part of the Ayyubid eastern wall, between al-Darb al-Ahmar neighbourhood and al-Azhar Park]] The founder of the Ayyubid dynasty, Salah ad-Din (Saladin), restored and/or reconstructed the Fatimid walls and gates in 1170<ref name=":11">{{Cite journal |last=Warner |first=Nicholas |date=1999 |title=The Fatimid and Ayyubid Eastern Walls of Cairo: missing fragments |url=https://www.ifao.egnet.net/anisl/33/11/ |journal=Annales islamologiques |volume=33 |pages=283–296}}</ref> or 1171.<ref name=":8" /> In 1176, he then began embarked on a project to radically expand the city's fortifications. This project included the construction of the Citadel of Cairo and of a 20 kilometer-long wall to connect and protect both Cairo (referring to the former royal city of the Fatimid caliphs) and Fustat (the main city and earlier capital of Egypt a short distance to the southwest). The entirety of the envisioned course of the wall was never quite completed, but long stretches of the wall were built, including the section to the north of the Citadel and a section near Fustat in south.<ref name=":03">{{Cite book |last=Raymond |first=André |url=https://archive.org/details/cairo0000raym |title=Cairo |publisher=Harvard University Press |year=2000 |isbn=978-0-674-00316-3 |language=en |translator-last=Wood |translator-first=Willard |orig-date=1993}}</ref>{{Rp|pages=90–91}}<ref name=":32" />

One of the eastern gates of the city, part of the Ayyubid reconstruction of the walls, was also uncovered in 1998 and subsequently studied and restored. It has a complex defensive layout including a bent entrance and a bridge over a moat or ditch.<ref name=":8" /> Initially identified as ''Bab al-Barqiyya'',<ref name=":8" /> it is possible that it was actually known as ''Bab al-Jadid'' ("New Gate"), one of the three eastern gates mentioned by al-Maqrizi.<ref name=":10">{{Cite journal |last=Pradines |first=Stephane |date=2008 |title=Bab al-Tawfiq: une porte du Caire fatimide oubliée par l'histoire |url=https://www.academia.edu/1478648 |journal=Le Muséon |volume=121 |issue=1–2 |pages=143–170}}</ref>

=== Citadel === {{Main|Cairo Citadel}}

Salah ad-Din began the construction of an extensive Citadel in 1176 to serve as Egypt's seat of power, with construction finishing under his successors.<ref name=":52">{{Cite book|last=Rabat|first=Nasser O.|title=The Citadel of Cairo: A New Interpretation of Royal Mamluk Architecture|publisher=E.J. Brill|year=1995}}</ref> It is located on a promontory of the nearby Muqattam Hills overlooking the city. The Citadel remained the residence of the rulers of Egypt until the late 19th century, and was repeatedly transformed under subsequent rulers. Notably, Muhammad Ali Pasha built the 19th-century Mosque of Muhammad Ali which still dominates the city's skyline from its elevated vantage point.<ref name=":1" />

=== Markets and commercial buildings === [[File:Khan el-Khalili, Cairo Egypt - panoramio (7).jpg|alt=|thumb|Khan el-Khalili, the major souq or bazaar center of medieval Cairo.]]

The Mamluks, and the later Ottomans, also built ''wikala''s (caravanserais; also known as ''khan''s) to house merchants and goods due to the important role of trade and commerce in Cairo's economy.<ref name="Raymond1993" /> The most famous and best-preserved example is the Wikala al-Ghuri, which nowadays also hosts regular performances by the Al-Tannoura Egyptian Heritage Dance Troupe.<ref>O'Neill, Zora et al. 2012. ''Lonely Planet: Egypt'' (11th edition), p. 81.</ref> The famous Khan al-Khalili is a famous souq and commercial hub which also integrated caravanserais.<ref name=":13"/> Another example of historic commercial architecture is the 17th-century Qasaba of Radwan Bay, now part of the al-Khayamiyya area whose name comes from the decorative textiles (''khayamiyya'') still being sold here.<ref name=":1" />

== Preservation status ==

thumb|View of Islamic Cairo in 1959

Much of this historic area suffers from neglect and decay, in this, one of the poorest and most overcrowded areas of the Egyptian capital.<ref>[http://www.qantara.de/webcom/show_article.php/_c-478/_nr-596/i.html ''Ancient Cairo: Preserving a Historical Heritage''], Qantara, 2006.</ref> In addition, thefts of Islamic monuments and artifacts in the Al-Darb al-Ahmar district threaten their long-term preservation.<ref>[http://weekly.ahram.org.eg/2008/903/eg8.htm ''Unholy Thefts''] {{webarchive|url=https://web.archive.org/web/20130605095335/http://weekly.ahram.org.eg/2008/903/eg8.htm |date=2013-06-05 }} Al-Ahram Weekly, Nevine El-Aref, 26 June – 2 July 2008 Issue No. 903.</ref><ref>{{Cite web|url=https://www.wmf.org/project/al-darb-al-ahmar-district-mosques|title=Al-Darb Al-Ahmar District Mosques|website=World Monuments Fund}}</ref><ref>{{Cite news|url=https://www.theguardian.com/travel/2018/mar/21/cairo-artisan-district-al-darb-al-ahmar-photo-essay|title=Alive with artisans: Cairo's al-Darb al-Ahmar district – a photo essay|first=Harry Johnstone, photography by Christopher|last=Wilton-Steer|newspaper=The Guardian |date=March 21, 2018|via=www.theguardian.com}}</ref> In the aftermath of the 2011 uprising theft increased among historic monuments and a lack of zoning enforcement allowed traditional houses to be replaced with high-rise buildings.<ref name=":1" />{{Rp|page=|pages=1–2}}<ref name=":5">{{Cite web |date=2018-06-11 |title=Egypt struggles to restore historic Cairo's glory |url=https://middle-east-online.com/en/egypt-struggles-restore-historic-cairos-glory |access-date=2022-10-31 |website=MEO |language=en}}</ref><ref name=":6">{{Cite book |last=Wessling |first=Christoph |chapter-url=https://books.google.com/books?id=A7_qDQAAQBAJ&dq=%22historic+cairo+restoration+project%22&pg=PA68 |title=Revitalizing City Districts: Transformation Partnership for Urban Design and Architecture in Historic City Districts |publisher=Springer |year=2017 |isbn=978-3-319-46289-9 |editor-last=Abouelfadl |editor-first=Hebatalla |pages=68–69 |language=en |chapter=Revitalization of Old Cairo |editor-last2=ElKerdany |editor-first2=Dalila |editor-last3=Wessling |editor-first3=Christoph}}</ref> Thefts and illegal constructions have since decreased, but environmental problems remain.<ref name=":5" />

Various efforts to restore historic Cairo have been ongoing in recent decades, with the involvement of both Egyptian government authorities and non-governmental organisations such as the Aga Khan Trust for Culture (AKTC).<ref name=":5" /> In 1998 the government launched the Historic Cairo Restoration Project (HCRP) which aimed to restore 149 historic monuments.<ref name=":1" />{{Rp|page=2}} In the following years numerous restorations were completed under the supervision of the HCRP in the area between Bab Zuweila and Bab Futuh, especially around al-Mu'izz street.<ref name=":6" /><ref name=":1" />{{Rp|page=|pages=214–258}} A restoration of Bay al-Suhaymi and the Darb al-Asfar street in front of it was also completed in 1999 by independent Egyptian conservators with funding from the Arab Fund for Economic and Social Development, a Kuwaiti organisation.<ref name=":1" />{{Rp|page=237}} By 2010, about 100 of the 149 monuments designated by the HCRP had been restored.<ref name=":1" />{{Rp|page=2}} The HCRP has also been criticized, however, for creating an open-air museum geared towards tourists while imparting few benefits on the surrounding community.<ref name=":6" /><ref name=":7">{{Cite book |last=Bakhoum |first=Dina Ishak |chapter-url=https://books.google.com/books?id=q9ZiDwAAQBAJ&dq=%22Historic+Cairo+Restoration+Project%22+criticism&pg=PT151 |title=World Heritage and Sustainable Development: New Directions in World Heritage Management |publisher=Routledge |year=2018 |isbn=978-1-351-60888-6 |editor-last=Larsen |editor-first=Peter Bille |language=en |chapter=Implementing the World Heritage Sustainable Development Policy in Egypt: An opportunity for collective engagement in heritage conservation |editor-last2=Logan |editor-first2=William}}</ref> Around the same period, another initiative launched by the AKTC focused on revitalizing the Al-Darb al-Ahmar neighbourhood following the construction of the nearby al-Azhar Park. This project aimed for a more bottom-up approach to improve the community's urban fabric and the socioeconomic situation of residents, as well as involving more public and private participation.<ref name=":6" /><ref name=":7" />

Examples of more recent restoration projects include the rehabilitation of the 14th-century Mosque of Amir al-Maridani in Al-Darb al-Ahmar, which began in 2018 and whose first phase was completed in 2021, led in part by the AKTC with additional funding from the European Union.<ref>{{Cite web |title=Al-Tunbagha Al-Maridani Mosque restored - Heritage - Al-Ahram Weekly |url=https://english.ahram.org.eg/NewsContent/50/1207/426386/AlAhram-Weekly/Heritage/AlTunbagha-AlMaridani-Mosque-restored.aspx |access-date=2022-10-31 |website=Ahram Online}}</ref><ref>{{Cite web |title=Glories of Cairo's medieval past revealed - Spotlight - AKDN |url=https://the.akdn/en/resources-media/whats-new/spotlights/glories-cairos-medieval-past-revealed-spotlight |access-date=2022-10-31 |website=the.akdn |archive-date=2022-10-31 |archive-url=https://web.archive.org/web/20221031180924/https://the.akdn/en/resources-media/whats-new/spotlights/glories-cairos-medieval-past-revealed-spotlight |url-status=dead }}</ref><ref name=":5" /> Between 2009 and 2015 the World Monuments Fund and the AKTC completed a restoration of the 14th-century Mosque of Amir Aqsunqur (also known as the Blue Mosque).<ref>{{Cite web |title=Jama'a Al -Aqsunqur (Blue Mosque) |url=https://www.wmf.org/project/jama%E2%80%99-al-aqsunqur-blue-mosque |access-date=2022-10-31 |website=World Monuments Fund |language=en}}</ref> Another project completed in 2021 has restored the 18th-century Sabil-kuttab of Ruqayya Dudu in the Suq al-Silah area.<ref>{{Cite web |title=Rescuing our monuments: Restoration in Islamic Cairo - Heritage - Al-Ahram Weekly |url=https://english.ahram.org.eg/NewsContent/50/1207/402727/AlAhram-Weekly/Heritage/Rescuing-our-monuments-Restoration-in-Islamic-Cair.aspx |access-date=2022-10-31 |website=Ahram Online}}</ref><!-- The spelling of the monument's name here follows what is found in more reliable sources like Caroline Williams's book, rather than the awkward and uncommon transliteration in the Al-Ahram article. --> In 2021 the Egyptian government began a new push to renovate the old city, including the areas around the historic city gates, partly with the aim to boost tourism. The effort would also involve restoring buildings that are not officially listed as monuments and pedestrianizing some zones. In some cases the owners or tenants of certain buildings have been relocated elsewhere while restoration is ongoing.<ref>{{Cite web |title=Historic Cairo regains its ancient glory - Al-Monitor: Independent, trusted coverage of the Middle East |url=https://www.al-monitor.com/originals/2021/12/historic-cairo-regains-its-ancient-glory |access-date=2022-10-31 |website=www.al-monitor.com |date=December 2021 |language=en}}</ref><ref>{{Cite news |last=Werr |first=Patrick |date=2021-09-29 |title=Egypt forges new plan to restore Cairo's historic heart |language=en |work=Reuters |url=https://www.reuters.com/world/middle-east/egypt-forges-new-plan-restore-cairos-historic-heart-2021-09-29/ |access-date=2022-10-31}}</ref><ref name=":5" />

== See also == *List of World Heritage Sites in the Arab States

== References == {{reflist|2}}

== External links == *{{commons category-inline}} *{{wikivoyage inline|Cairo/Islamic Cairo|Islamic Cairo}} {{Islamic Cairo}} {{Districts of Cairo}} {{World Heritage Sites in Egypt}}

Category:Medieval Cairo Category:Districts of Cairo Category:History of Cairo Category:Arabic architecture Category:Archaeological sites in Egypt Category:Islam in Cairo Category:Open-air museums in Egypt Category:World Heritage Sites in Egypt Category:Districts of Greater Cairo