Abbasid Dynasty Moderate 358 AH (969 CE)

Founding of Cairo by the Fatimids

تأسيس القاهرة

Cairo, Egypt

# The Founding of Cairo: Capital of the Fatimid Empire

Egypt Before Cairo

When the Arab Muslim armies under Amr ibn al-As conquered Egypt in 20 AH / 641 CE, they established a garrison city called Fustat — from the Greek word for tent — at the southern end of the Nile Delta, near the old Byzantine fortress of Babylon. This was the administrative capital of Islamic Egypt for over three centuries. To the north of Fustat, successive rulers added further settlements: the Abbasid governor Ibn Tulun built al-Qata'i in 256 AH as his own palace complex, though it was demolished by subsequent rulers. Egypt's urban center remained anchored around Fustat and the older Roman-Byzantine settlement at Babylon.

It was into this landscape, already layered with centuries of Islamic and pre-Islamic history, that a new city — destined to become the Arab world's greatest — was planted in 358 AH / 969 CE.

The Fatimid Conquest and the General Jawhar

The Fatimid Caliphate, an Ismaili Shia dynasty claiming descent from Fatimah al-Zahra (the daughter of the Prophet ﷺ) and her husband Ali ibn Abi Talib, had ruled North Africa from their capital al-Mahdiyya in Tunisia since 297 AH / 909 CE. Under the caliph al-Mu'izz li-Din Allah, they had consolidated their power across the Maghreb and now turned their ambitions eastward, toward the wealthy and strategically critical province of Egypt.

The Fatimid general who executed this conquest was Jawhar ibn Abdallah al-Siqilli — Jawhar "the Sicilian," a man who had been born a Christian in Sicily, captured and enslaved, and who rose through the Fatimid military to become its most capable commander. In Sha'ban 358 AH / June 969 CE, Jawhar led an army of approximately one hundred thousand soldiers into Egypt. The Ikhshidid governor, facing an overwhelming force, negotiated a peaceful surrender, and Jawhar entered the country without significant resistance.

The Fatimids now controlled Egypt — its agriculture, its Nile trade, its access to the Mediterranean and Red Sea routes, and its enormous tax revenues. What they needed was a capital befitting a caliphal dynasty that claimed to be the rightful rulers of all Islam.

The Name al-Qahira: The City of Mars

The founding of the new city north of Fustat began almost immediately after the conquest. According to the historian al-Maqrizi, whose "al-Mawa'iz wa al-I'tibar" (Admonitions and Reflections) remains the essential source for Fatimid Cairo's history, Jawhar consulted astrologers to determine the most auspicious moment to begin the city's construction. Workers stood ready around the perimeter of the planned city, holding ropes to which bells had been tied. When the astrologers signaled the correct celestial moment, all the bells would ring at once, and the workers would begin digging the foundation trenches simultaneously.

The story goes that before the astrologers gave their signal, a crow landed on one of the ropes, causing the bells to ring prematurely. The moment of accidental beginning happened to coincide with the ascendancy of the planet Mars — known in Arabic as al-Qahir, "The Overpowering" or "The Subjugator." And so the city received its name: al-Qahira al-Mu'izziyya — "The Overpowering City of al-Mu'izz." In English, this became "Cairo."

Some scholars note a symbolic dimension in the name: al-Qahir is also one of the divine attributes (asma Allah al-husna), meaning "The All-Powerful Subduer," and the Fatimids may have seen their conquest of Egypt as a divinely ordained subjugation of their enemies. The martial association with the planet Mars was also appropriate for a dynasty that had just won a major military conquest and was preparing to transform Islamic political geography.

The Design of the Fatimid City

Al-Qahira as founded by Jawhar was not a city for the general population. It was a walled royal enclosure — a palatial compound for the Fatimid caliph, his court, his administration, and his military. The common people of Egypt continued to live in Fustat to the south. Al-Qahira was, in its original conception, more like Versailles or the Forbidden City than like a city in the modern sense: a magnificent exclusion zone of power, ritual, and spectacle.

The walls ran roughly north-south in a large rectangle. Within them, Jawhar constructed the two great Fatimid palaces — the Eastern and Western Palaces — which faced each other across a great ceremonial square (known as Bayn al-Qasrayn, "Between the Two Palaces") large enough to hold tens of thousands of soldiers for parades and military reviews. The Fatimid court was elaborately ceremonial, with processions, banquets, and public appearances of the caliph designed to project an image of divine-like authority.

Alongside the palaces, Jawhar immediately began the construction of the mosque that would become the most famous institution in the Islamic world. Al-Azhar — "The Most Luminous" — was completed in 361 AH / 972 CE.

Al-Mu'izz Arrives

The Fatimid Caliph al-Mu'izz li-Din Allah himself did not immediately follow the conquest. He remained in North Africa for three years, organizing the transfer of the Fatimid state eastward. In 362 AH / 973 CE, al-Mu'izz made his triumphal entry into Cairo, bringing with him the coffins of his ancestors to be reinterred in the new capital. The symbolic weight of this act — transplanting the Fatimid dynastic dead to their new home — demonstrated that this was not merely a military conquest but a permanent transfer of civilizational capital.

Al-Maqrizi describes the scene: the caliph entered the city at night, with torches and lamps illuminating the entire route, and the population of Fustat and the surrounding area came out to witness the spectacle. Al-Mu'izz received homage in his new capital and made clear that al-Qahira, not al-Mahdiyya, was now the center of Fatimid power.

The City's Growth and Fatimid Cairo

Over the following two centuries of Fatimid rule (362-567 AH), al-Qahira grew and transformed. Gradually the exclusion between the royal city and the popular city of Fustat broke down, and a continuous urban fabric began to develop between the two settlements. The great Fatimid processions — for the Prophet's birthday ﷺ, for the beginning of Ramadan, for Eid, for the opening of the Nile canal — became occasions when the caliph's presence in the city shaped public life.

The Fatimid caliphs built madrasas (though primarily for Ismaili doctrine), libraries (one Fatimid library reportedly contained two hundred thousand volumes), hospitals, and commercial facilities. The wealth flowing through Cairo from the Mediterranean and Red Sea trades made it one of the richest cities in the medieval world.

Yet throughout this period, al-Qahira remained in many ways a city apart from the Egyptian people, who were predominantly Sunni Muslims uncomfortable with the Ismaili doctrines promoted in the Fatimid mosques and the strange theological formulations in the Friday sermon (khutbah) which invoked the Fatimid Imam rather than the Abbasid Caliph.

Saladin and the Transformation of Cairo

The transformation of Cairo from a Fatimid royal enclosure into a true Muslim metropolis came with Salahuddin al-Ayyubi — Saladin. When Saladin effectively took control of Egypt in 564-567 AH and formally ended the Fatimid Caliphate in 567 AH / 1171 CE, he undertook a fundamental reorganization of the city.

He opened Cairo to the general public, integrating it with Fustat into a single urban area. He began construction of the great Citadel on the Muqattam hills southeast of the city — a fortress-palace that would remain the seat of Egyptian government from his time until the nineteenth century. He built Sunni madrasas promoting Shafi'i and Maliki fiqh, replacing the Ismaili institutions of the Fatimids. He restored al-Azhar as a Sunni institution. Under his successors, Cairo absorbed Fustat and became genuinely the capital of a great empire.

Cairo as the Arab World's Greatest City

Following Saladin, the Ayyubid and then Mamluk dynasties further developed Cairo into one of the largest and most important cities on earth. The Mamluk period (658-923 AH / 1260-1517 CE) saw the construction of Cairo's most spectacular architectural monuments — the great mosque-madrasa complexes of Sultan Hasan, Qalawun, Barquq, and others — which still stand today along the medieval street of al-Qahira.

The Moroccan traveler Ibn Battuta visited Cairo in the 14th century CE and described it as "the mother of cities, the mistress of broad provinces and fruitful lands, boundless in multitude of buildings, peerless in beauty and splendor." He estimated its population at the time to be in the hundreds of thousands — making it one of the largest cities in the world.

The city that Jawhar al-Siqilli planted as a royal Fatimid enclosure had become, through the work of centuries, the greatest city of the Arab world. Today, Greater Cairo with its satellite cities contains over twenty million inhabitants — the largest metropolitan area in Africa and the Arab world, and a city whose founding can be dated with unusual precision to a specific year, month, and even a legendary moment when a crow landed on a bell-rope and the planet Mars rose in the sky.

Sources:

  • Al-Maqrizi, al-Mawa'iz wa al-I'tibar fi Dhikr al-Khitat wa al-Athar (Admonitions and Reflections Concerning the Quarters and Monuments of Cairo)
  • Ibn Battuta, Rihla (The Travels of Ibn Battuta)
  • Paul Walker, Exploring an Islamic Empire: Fatimid History and its Sources (London: I.B. Tauris, 2002)
  • Heinz Halm, The Fatimids and Their Traditions of Learning (London: I.B. Tauris, 1997)
  • Stanley Lane-Poole, The Story of Cairo (London: J.M. Dent, 1902)
  • Nasser Rabbat, The Citadel of Cairo: A New Interpretation of Royal Mamluk Architecture (Leiden: Brill, 1995)
  • Jonathan Bloom, Arts of the City Victorious: Islamic Art and Architecture in Fatimid North Africa and Egypt (New Haven: Yale University Press, 2007)

For the Prophetic era, see the Seerah timeline .