In the summer of 969 a general acting for a caliph who was still a thousand miles away marked out a rectangle of ground north of Egypt’s existing capital and began building a wall around it. Inside that wall went a palace, then a second palace facing it across an open square, then quarters for the regiments of the army, then a great mosque. Outside it, and expressly excluded from it, lay the largest and richest commercial city in Egypt and everybody who lived there.

That enclosure is the origin of Cairo, and the claim this article defends is the palace city thesis: that the city began as a closed royal and military compound rather than as a market town, that it was shut to the general population for roughly a century, and that almost everything distinctive about its later shape follows from that beginning.

How the Fatimids founded Cairo in 969 as a walled palace city beside the older commercial capital - Insight Crunch

The assumption this corrects is a natural one. A visitor to the medieval quarter encounters dense commercial streets, markets that have operated for centuries and one of the most crowded urban landscapes anywhere, and infers a city that grew organically from trade. The opposite is true. It was designed as an exclusion zone, and the commerce arrived later, from outside, after the wall stopped being enforced.

Getting the origin right matters for more than accuracy. A city founded as a court enclosure has a different relationship to its own population, a different internal geography and a different growth pattern from one founded as a port or a market, and several features of the medieval city that puzzle observers are explained directly by the founding plan.

This article owns the founding and the plan. The dynasty that built it belongs to the article on Fatimid Egypt. The older city beside it belongs to the article on the founding of Fustat. The great mosque founded within it belongs to the article on al-Azhar, and the earlier foundation in the same chain to the article on the Tulunids.

The Founding of Cairo Table

The table below is this article’s findable artifact, setting out the site, the name, the plan and the growth against the evidence and the honest limit on each.

Element What is the case The evidence The honest limit
Date Founded in 969, immediately after the Fatimid occupation of Egypt Consistent narrative tradition; the sequence of events in the occupation The precise sequence of marking out and beginning construction varies between accounts
Founder The general commanding the expedition, acting for a caliph who arrived four years later Narrative accounts; the caliph’s known movements His personal role in the design cannot be separated from his staff’s
Purpose A royal and military enclosure for the caliph, his household and his regiments The plan itself; the exclusion of the general population Intentions are inferred from the design rather than recorded
Name A name meaning the victorious or the subduer, attached to the foundation Narrative accounts; the name’s survival The story linking it to an astrological observation is a tradition
Plan A walled rectangle with two facing palaces, a central open square, regimental quarters and a congregational mosque Later topographical description; surviving monuments; excavation The original layout is reconstructed rather than observed
Access Closed to the general population at first, opened gradually over roughly a century Narrative accounts of the restriction and its relaxation The date and manner of opening are not precisely recorded
Relationship to the older city Built beside rather than replacing it; the older city remained larger and richer for a long period The older city’s continued documented prosperity The point at which the new city overtook it is not sharply datable
Walls Mud brick at first, rebuilt in stone in the late eleventh century with monumental gates Three surviving gates and sections of wall The original circuit is known mainly from description
Growth From a closed compound to the commercial heart of the region across several centuries Later topographical description; the surviving urban fabric The stages of growth are documented unevenly
Significance The origin point of the modern metropolis and the fourth link in a chain of foundations The continuous occupation of the site Continuity of name and site is not continuity of function

Why a New City at All

The decision to build rather than occupy is the first thing requiring explanation, since Egypt already had a large capital with a governor’s residence, a treasury and everything a new ruler needed.

The precedent was overwhelming. The article on the founding of the original garrison city sets out a pattern in which each new ruling group in Islamic Egypt built its own quarter beside the existing settlement rather than moving into it, and the Fatimid foundation was the fourth in that chain after the original garrison town, the eighth century administrative annexe and the Tulunid quarter.

The practical reason is the same each time. The existing city was full, a new regime arrived with an army needing housing under its own commanders, and building on open ground beside a city is faster and cheaper than clearing space within one.

Why did the Fatimids not simply use Fustat?

Because the existing city was full, crowded and commercially owned, and a regime arriving with an army needed ground it controlled. Building beside rather than within was also the established Egyptian pattern, followed by every previous ruling group, and this foundation was the fourth in that chain.

The political reason was stronger in this case than in the earlier ones. The article on Fatimid Egypt sets out that this was not an ordinary provincial regime but a rival caliphate claiming leadership of the whole Islamic world, and a claim of that order requires a setting built for it.

The religious reason compounds the political one. The dynasty held a distinct doctrinal position that the population of Egypt did not share, and its caliph was also an imam whose person carried a religious status. A ruler making that kind of claim among subjects who reject it has a strong interest in controlled access.

The security reason completes the set. A newly arrived minority regime with an imported army in a large hostile capable city wants a defensible compound, and a wall is the simplest expression of that want.

Why was Cairo built?

To house a caliph, his household and his imported army in a controlled enclosure at the moment a rival caliphate transferred its seat to Egypt. The existing capital was full, the regime’s doctrine was not shared by the population, and a caliph claiming leadership of the Islamic world needed a setting built for the claim.

The one thing the foundation was not is a commercial venture. Nothing about the plan serves trade, no provision was made for markets on any scale in the original design, and the commercial city was deliberately left outside the wall.

The Founding Itself

The events of 969 are better documented than most Egyptian foundations, and setting them out in order shows how deliberate the process was.

The occupation came first and it was negotiated rather than fought. The article on Fatimid Egypt describes an entry into the country conducted with formal guarantees to the population and famine relief rather than as a campaign, which is the context in which a wall around the new rulers makes sense: they had promised not to disturb the existing city and needed somewhere else to be.

The site was chosen immediately, on open ground north of the existing settlements, continuing the northward drift that the previous three foundations had established. The ground was higher, away from the older quarters, and large enough for what was planned.

How was Cairo founded?

By the general commanding the Fatimid expedition, in 969, immediately after the negotiated occupation of Egypt. He marked out a rectangle of open ground north of the existing capital, walled it, and built two facing palaces, quarters for the regiments and a congregational mosque inside it, for a caliph who arrived from the west four years later.

The marking out is described in the sources with a story attached, in which the moment of beginning was to be determined by astrologers watching for a favourable configuration, and a bird disturbed the cords marking the line, causing work to begin at the wrong moment and giving the foundation its name.

That story should be treated as the article on the Mosque of Amr treats the tent and dove tradition. It explains a name with a memorable incident, appears in later sources, and does the literary work such stories always do. It may preserve a genuine memory that astrologers were consulted, which would be unremarkable, and the incident itself is not evidence.

The building followed rapidly. The wall went up in mud brick, the palace was begun at once, and the great mosque was under construction within two years, which for a foundation of this size indicates enormous resources and a clear plan.

What year was Cairo founded?

969, immediately following the Fatimid occupation of Egypt in that year. The great mosque within it was begun within two years and completed in 972. The caliph for whom the enclosure was built did not arrive until 973, four years after the founding, having travelled from the dynasty’s earlier capital in the west.

The caliph arrived in 973, four years later, travelling from the dynasty’s earlier capital in North Africa, and his arrival completed the transfer. A capital built to receive a ruler who is not yet present is an unusual thing and it tells you the move was planned well in advance.

The general in command governed in the interval and his position during those four years is one of the more interesting in Egyptian history: a commander administering a country in the name of an absent sovereign whose new capital he was building.

The Name

The city’s name is a small piece of evidence that repays attention, since names attached at foundation record what a founder wanted the place to be.

The name means the victorious or the subduer, from a root carrying the sense of overcoming or compelling, and it was applied to the new foundation rather than to any pre existing feature of the site.

What does the name Cairo mean?

It derives from an Arabic name meaning the victorious or the subduer. It was applied to the new foundation in 969 rather than describing anything already at the site, and the sources attach a story linking it to a planet associated with dominance and conflict, observed by astrologers at the moment of founding.

The astrological explanation given in the sources connects it to a planet associated with conflict and dominance, said to have been rising at the moment work began, and this is the version most often repeated.

An alternative reading takes the name as a straightforward political declaration by a dynasty that had just taken the richest province in the Islamic world and intended to take more, and this reading requires no astrologers.

Why is Cairo called the victorious city?

Because its name derives from an Arabic word meaning victorious or subduing, applied by a dynasty that had just taken Egypt and intended to take the rest of the Islamic world from it. Whether the name records an astrological observation or a straightforward political declaration is not settled, and both readings point the same direction.

The two readings are not in conflict, since a dynasty choosing an astrologically justified name would choose one carrying the meaning it wanted anyway.

The form the name takes in European languages descends through Italian mercantile usage from the Arabic, which is why the English name and the Arabic name are recognizably the same word despite looking different.

The older city’s name persisted alongside it for centuries and, as the article on that foundation notes, the newer name did not displace the older one in common usage for a long time, which is itself evidence that the palace city did not immediately become the city.

The Original Plan

The layout of the founded city is the strongest evidence for what it was meant to be, and it should be read the way the article on the Tulunid mosque reads a building: as a document.

The enclosure was a rectangle, roughly regular, defined by a wall with gates on each side, and its dimensions place it at something over a square kilometre, which is large for a palace compound and small for a city.

The two palaces are the defining feature. A great eastern palace and a smaller western one faced each other across an open space, and that arrangement, with the ruler’s residence doubled and an empty ceremonial ground between, is the plan of a court rather than of a settlement.

How was Cairo laid out originally?

As a walled rectangle of something over a square kilometre with gates on each side, dominated by two facing palaces separated by a large open ceremonial square. Around them lay quarters allotted to the regiments of the army by origin, and a congregational mosque was built within the walls in the first years.

The open square between them was the ceremonial heart. The article on Fatimid Egypt describes court ceremonial as an instrument for making a transcendent claim visible, and a large parade ground between the palaces is where that instrument was used, for processions, reviews and the appearances on which the regime’s public claim depended.

The regimental quarters occupied the rest. Ground was allotted to the contingents of the army by origin, each group with its own district, which is precisely the allotment principle used at the original garrison foundation three centuries earlier and at the Tulunid quarter a century before.

Did the Fatimids plan Cairo on a grid?

Not in the strict sense. The enclosure was a planned rectangle with a principal axis running between the gates and ground allotted in blocks to the regiments, which produces regularity at the largest scale, and the interior of each quarter developed according to its occupants’ needs rather than to any imposed street pattern.

A principal thoroughfare ran the length of the enclosure between the northern and southern gates, and it remains the spine of the medieval quarter, one of the most durable pieces of urban design in the world.

The great mosque was placed within the walls and completed in 972, and the article on that institution treats what it became.

What buildings stood inside the original walls?

Two facing palaces with a ceremonial square between them, quarters allotted to the regiments of the army by origin, a congregational mosque completed in 972, administrative buildings, and the households and services attached to a court. There were no significant markets, since the commercial city lay deliberately outside the wall.

Administrative buildings, treasuries, workshops serving the court and the households of officials filled the remainder, and what is conspicuously absent is any significant commercial provision.

The gate structures deserve their own note. The original walls were mud brick and were replaced in stone in the later eleventh century by a vizier who rebuilt the circuit on a larger scale, and three of those stone gates survive as some of the finest surviving military architecture of the medieval Islamic world.

What were Cairo’s original gates and walls like?

The founding circuit was mud brick with gates on each side, of which nothing survives. A vizier rebuilt the walls in stone on a larger circuit in the later eleventh century, and three monumental gates from that rebuilding survive, showing sophisticated military engineering with vaulted passages and flanking towers.

Who Was Excluded

The restriction on entry is the feature that most sharply distinguishes this foundation from an ordinary city, and the evidence for it is worth setting out.

The population of the existing capital was not admitted. The new enclosure was for the caliph, his household, his officials and his army, and the commercial and residential population of the region continued to live outside it.

Could ordinary people enter early Cairo?

Not freely, and not to reside. The enclosure was built for the caliph, his household, his officials and his regiments, and the general population continued to live in the existing commercial city outside the walls. Access was controlled at the gates, and the restriction relaxed gradually across roughly the following century.

The mechanism was the wall and the gates, which is what a wall around a compound in a country with no external threat at that moment is for. A fortification facing inward toward one’s own subjects rather than outward toward an enemy is a specific kind of statement.

The reason connects directly to the dynasty’s position. The article on Fatimid Egypt sets out that the caliph was also an imam, that this was a categorically stronger claim than any rival made, and that the missionary organization supporting it operated through graded initiation which made mass conversion impossible by design. A regime whose central claim is not shared by its subjects and whose doctrine is not open to them will build accordingly.

The relaxation came gradually and the sources do not record a moment of opening. Over roughly the following century the restriction eroded, people settled inside, markets appeared, and by the end of the Fatimid period the enclosure was becoming a city in the ordinary sense.

When did Cairo open to the general population?

Gradually, across roughly the century following its founding, with no recorded moment of opening. The restriction eroded as officials, servants, suppliers and eventually merchants settled inside, and by the later Fatimid period the enclosure was functioning as an ordinary urban district rather than a closed compound.

The process by which it opened is instructive. A court requires servants, suppliers, craftsmen and traders, those people need to live near their work, and a compound of that size cannot remain sealed while functioning. The exclusion was undermined by the enclosure’s own operating requirements.

The decisive change came later, under the dynasty that followed, when the palaces were dismantled and the ground given over to other uses, which the section on the palaces below describes.

The Two Cities

For two centuries Egypt had two urban centres a short distance apart with entirely different functions, and understanding the relationship between them is essential.

The older city was the commercial and demographic heart. The article on its founding establishes that it remained Egypt’s principal city for two centuries after the new foundation, with the excavated evidence of piped water, latrines, multi storey housing, imported ceramics and the great documentary archive all belonging to that period.

The new enclosure was the political and ceremonial centre, containing the ruler, the court, the treasury, the army and the administration, and nothing else of consequence.

That division is unusual and it is precise. Government in one place, commerce and population in another, a short distance apart, with a wall between them.

Was Cairo built on an empty site?

Substantially yes. The ground north of the existing settlements was open, on higher land away from the older quarters, with some scattered occupation and garden land rather than an established urban area. The choice of open ground was deliberate, since the whole point of the foundation was to build a controlled enclosure rather than to occupy an existing one.

The traffic between them was constant and asymmetric. Officials, supplies, revenue and petitioners moved between the two, and the relationship resembled that of a capital and a commercial port more than that of two districts of one city.

The reversal came in the twelfth century and it came through disaster rather than growth. The deliberate burning of the older city in 1168, described in the article on that foundation, devastated the commercial centre and accelerated a decline already underway, and population and business moved north into and around the walled enclosure.

The article on the older city makes the point that this burning was an accelerant rather than a terminator, and the same qualification applies here: the new city was already growing and the fire hastened a transfer that would probably have happened anyway.

How did Cairo become Egypt’s capital?

It was the seat of government from its founding in 969, and it became the capital in the full sense only as the older commercial city declined. That transfer took two centuries and was accelerated by the deliberate burning of the older city in 1168, after which population and commerce moved north into and around the walled enclosure.

The absorption of the older city as a quarter of the newer one completed the process over the following centuries, and the modern metropolis contains both, which is why the Mosque of Amr and the walls of the Fatimid enclosure are in the same city.

What Happened to the Palaces

The fate of the two palaces is a good illustration of what happens to purpose built dynastic architecture when the dynasty ends, and the article on the Tulunid quarter has already established the pattern.

The palaces were enormous. The sources describe complexes of great size with courts, halls, gardens, treasuries and libraries, and the descriptions in the later topographical compilation are the principal evidence for their extent.

They were the physical embodiment of the regime’s claim, containing the caliph whose person carried the dynasty’s religious authority, and access to them was the highest form of privilege in the state.

What happened to Cairo’s Fatimid palaces?

They were dismantled after the Sunni restoration of 1171 and the ground was developed for other uses, which is the standard fate of purpose built dynastic architecture when its dynasty falls. Almost nothing survives above ground, and the palaces are known mainly from descriptions in a later topographical compilation.

The end came with the Sunni restoration of 1171, described in the article on Fatimid Egypt as remarkably frictionless, and the new regime had no use for the palaces of a doctrinally rival dynasty.

Dismantling followed, the ground was progressively developed with other buildings, and later medieval construction covered the site. Almost nothing survives above ground.

The contrast with the great mosque is exactly the contrast the article on the Mosque of Amr draws. A congregational mosque passes intact to the next regime because it belongs to the community and destroying it costs legitimacy; a palace belongs to a dynasty and its destruction is politically useful. The mosque founded in 969 is still standing and still functioning.

The consequence for the historical record is a familiar distortion. What survives from Fatimid Cairo is disproportionately religious and military, the mosques and the gates, while the palaces that were the entire point of the foundation are gone, so the visible remains misrepresent what the city was for.

The Foundation in Egyptian Memory

How this founding is remembered differs in several respects from what actually happened, and the gap between the two is itself worth a section, since the errors are instructive rather than random.

The popular account makes 969 the birth of Cairo as a city, which compresses two centuries of coexistence with a larger and richer neighbour into a single date and erases the older capital’s best period entirely, along with the excavated evidence of piped water, tall housing and imported ceramics that belongs to it.

The tourist account makes the whole medieval quarter Fatimid, which attributes to one dynasty a fabric overwhelmingly built by three later ones, and leaves a visitor looking for a tenth century city among fourteenth and fifteenth century buildings.

The nationalist account makes the founding a moment of Egyptian self assertion, which is difficult to sustain for a walled compound built by a North African dynasty, garrisoned by imported regiments, and designed to keep the Egyptian population on the other side of the gates.

The scholarly account is the one this article follows, and it is less satisfying as a story because it involves two cities running in parallel, a slow transfer of primacy, an accidental transformation nobody planned, and a founding purpose that comprehensively failed on its own terms.

The reason the popular version persists is that it is a better story. A general founds a city on an auspicious day, the city becomes one of the greatest in the world, and the name it was given means victorious. Every element is memorable, the causation runs in a straight line, and the whole thing fits in a sentence.

The corrective is the one this series applies throughout. A date attached to a foundation records the moment a line was marked on open ground, not the moment a place became what it later was, and the interval between the two is usually where the interesting history sits.

The practical version for a reader is a single sentence worth holding on to: Cairo was founded in 969 as something else entirely, and only became Cairo in the sense anyone now means about two hundred years later, once the wall had stopped working, the palaces had come down and the city it was built to exclude had burned.

What Would Change This Picture

Naming the evidence that would revise the account is the fairest test of whether it is argument or assertion, and several kinds would do it here.

Excavation of the palace sites would be transformative, and it is largely impossible because the ground has been densely built over continuously for eight centuries. Any opportunity arising from redevelopment is correspondingly valuable.

An earlier and fuller description of the plan than the fifteenth century compilation offers would settle a great deal, since the whole reconstruction depends on an author four and a half centuries removed from his subject.

Dated documents from within the enclosure would clarify the exclusion and its erosion, and the contrast with the enormous archive from the older city is instructive: we know a great deal about the merchants outside the wall and comparatively little about the court inside it.

A clear account of the opening would resolve one of the article’s softest points, since the transition from closed compound to ordinary district is asserted from indirect evidence rather than documented.

Systematic survey of the surviving street pattern against the reconstructed plan would test how much of the founding layout genuinely persists and how much is assumed.

Comparative excavation at the site of the Tulunid quarter would sharpen the comparison this article draws between two purpose built dynastic capitals raised a century apart with opposite outcomes.

None of these is likely soon, and the value of listing them lies in marking which parts of the account rest on evidence and which rest on inference. The date, the founder, the purpose and the exclusion are secure. The detailed plan, the population and the manner of opening are reconstructions, and a reader is entitled to know the difference.

The Principal Street

The thoroughfare running the length of the enclosure between the northern and southern gates is the single most durable artifact of the founding, and it deserves attention in its own right.

Its origin is the plan of 969, in which a straight route between opposed gates is the obvious organizing line for a rectangular enclosure and serves both processional and practical purposes.

Its ceremonial function came first. A route from gate to gate passing the palaces is the natural line for the processions the article on Fatimid Egypt describes, and a straight street is easier to line with troops and spectators than a winding one.

Its commercial function arrived later and completely displaced the first. As the enclosure opened, the principal street became the principal market, which is what happens to any well travelled route, and it has been a commercial spine ever since.

Its survival across a thousand years is the remarkable part. Buildings along it have been replaced many times over, the regime that laid it out fell eight centuries ago, and the line itself has never moved.

Its persistence has a straightforward explanation. A street is defined by the property boundaries either side of it, and those boundaries are held by owners with a legal and financial interest in maintaining them, so a street line survives as long as property survives.

Its condition as a working market rather than a preserved monument is worth noting, since a route in continuous commercial use is maintained by the people using it in a way no conservation programme achieves.

The general observation, made in the section on growth and worth repeating, is that the most durable thing a founder produces is usually not a building but a line on the ground, and that urban plans outlast urban fabric by an order of magnitude.

The Gates and What They Show

The three surviving stone gates deserve fuller treatment than the earlier section gave them, because they are the best preserved evidence of the Fatimid city and because they carry unexpected information.

Their date is the later eleventh century, roughly a hundred and twenty years after the founding, when a vizier of Armenian origin rebuilt the walls in stone on a larger circuit after the crisis described in the article on Fatimid Egypt had nearly destroyed the regime.

Their engineering is serious. Vaulted passages, chambers above the gateways, flanking towers, arrow slits and approaches designed to expose an attacker are all present, and the workmanship is of high quality throughout.

Their construction technique is the surprising part. The stone vaulting, the use of dressed masonry and several details of the design belong to building traditions of the north rather than to Egyptian practice, and the vizier who commissioned them came from a region where those traditions were current.

That points to imported expertise, in the same way that the article on the Tulunid mosque reads brick piers and carved stucco as evidence of imported Iraqi craftsmen. A building can record where its builders learned their trade more reliably than any document.

Their inscriptions supply dates and names, which is why their chronology is secure where so much else in the Fatimid city is not, and dated inscriptions are among the most valuable evidence any monument carries.

Their survival owes something to their quality and something to their usefulness, since a well built gate in a city wall goes on being useful to every subsequent regime, unlike a palace.

The general point is that military architecture is a good witness to technical exchange, because a builder commissioning a fortification wants the best available engineering and will import it, and the resulting building records the transfer in its fabric.

Reading a Founded City

The method this article has used is transferable, and stating it explicitly is more useful than the Egyptian details alone.

The first question is whether a settlement was founded or grew. A founded city has a datable beginning, a legible plan, a regular outline and a single authority behind it; a grown city has none of these and its irregularity is the evidence.

The second question is what the plan provides for. Counting what a founder built, and noticing what he did not build, identifies the purpose more reliably than any statement of intention. A plan with palaces and no markets is not a commercial foundation.

The third question is who the boundaries exclude. A wall, a gate, a controlled approach or a segregated quarter all record a relationship between the people inside and the people outside, and the direction of exclusion is the informative part.

The fourth question is what happened to the founding elements. Which survived, which were destroyed, and by whom, is a record of what successive regimes valued, and the survival of religious buildings alongside the destruction of political ones is a pattern reliable enough to expect.

The fifth question is what the settlement acquired that was not in the plan. A founded city that survives its founders does so by taking on functions nobody designed for it, and identifying those functions explains the survival.

The sixth question is what the plan constrained afterward. Street lines and property boundaries are among the most durable artifacts any society produces, and a modern street plan frequently preserves decisions made a thousand years earlier.

Applied to this case the six questions produce the whole article, and applied to any other founded city they will produce a comparable account faster than reading a narrative history of it.

What the Foundation Could Not Do

Listing the limits of the founding project is as informative as listing its achievements, and several of them determined the dynasty’s trajectory.

It could not make the regime’s doctrine general. An apparatus of persuasion built behind a wall, transmitting a doctrine through graded initiation, reaches only the initiated, and the article on Fatimid Egypt records that Egypt never became Ismaili.

It could not stay closed. A court consumes, and consumption requires suppliers who need to live near their work, so the exclusion was undermined by the enclosure’s own operation within a century.

It could not house the country’s economy. The commerce that funded the regime stayed outside the wall in the older city, and the walled enclosure was economically a consumer rather than a producer for most of the Fatimid period.

It could not root the army. Regimental quarters organized by origin preserved the divisions they housed, and the factional warfare of the 1060s described in the article on the dynasty played out through those divisions in the streets of the capital.

It could not protect the dynasty. A wall against the population is useless against an army faction inside it, and the palaces were plundered by unpaid soldiers during the crisis.

It could not outlast the regime as what it was. The palaces went, the ceremonial ground went, and the exclusive character went, all within a generation of 1171.

The pattern in these limits is that each follows from the founding conception. A capital built to separate a ruling group from its subjects cannot also integrate them, and a capital that houses an army by origin cannot also unify it. The design solved the problems its builders saw and created the ones that eventually mattered.

Comparing the Two Palace Cities

Setting this foundation directly against the Tulunid quarter of the 870s isolates what changed in the century between them and what did not.

The similarities are extensive. Both were built beside the existing city rather than within it. Both moved north. Both were raised by a regime with an imported army. Both contained a palace, a parade ground and a congregational mosque. Both allotted ground to military contingents. And both saw their palaces destroyed and their mosques survive.

The differences track the status of the founders. A Tulunid governor built a quarter; a caliph built a walled city with two palaces. The scale, the ambition and the permanence of the second reflect a claim of an entirely different order.

The wall is the sharpest difference. The Tulunid foundation was an open quarter and this one was enclosed and access controlled, which reflects the difference between a governor with local legitimacy problems and a caliph with doctrinal ones.

The outcomes diverge completely and the earlier section explains why. The Tulunid quarter was demolished in 905 after thirty seven years and never recovered; this one survived two centuries of its dynasty and then two more of absorption, and became a metropolis.

The mosques of both survive and the article on the Mosque of Amr sets out why: a congregational mosque is inherited rather than destroyed, and the Tulunid mosque standing alone amid later development is the clearest illustration in Egypt of what happens when a dynastic quarter is erased around its one protected building.

The lesson the Fatimids might have drawn from the Tulunid case, and did not, concerns the army. The article on that dynasty identifies an army of imported groups held together by pay as the structural flaw that destroyed it, and the Fatimid regimental quarters institutionalized exactly that arrangement.

The general observation is that regimes rarely learn from their predecessors’ structural failures, because the arrangements that produce those failures are the same ones that make the regime possible in the first place.

Two Names for One Place

The coexistence of the old and new city names for centuries is a small piece of evidence about how the transition was experienced, and it is worth reading carefully.

The new foundation had its own name from 969 and it referred to the walled enclosure specifically, not to the wider settlement.

The older city kept its name and its identity, and the documents from the period, particularly the great archive described in the article on that foundation, use it as the ordinary designation for where people lived and worked.

The usage in the sources therefore distinguishes two places for a long time, and reading a tenth or eleventh century document that mentions the older city as though it meant the modern metropolis produces confusion.

The shift in usage came gradually after the twelfth century, as the older city declined and the newer one absorbed its functions, and the newer name spread outward from the enclosure to cover the whole agglomeration.

The European name descends from the Arabic through Italian mercantile usage, and its adoption in the trading cities of the Mediterranean tracks the point at which the walled city had become the place merchants dealt with.

The older name survives as a district name within the modern city, which is exactly the fate of a settlement absorbed by a neighbour.

The general observation is that names lag functions. A place goes on being called what it was called long after its role has changed, and the moment at which usage shifts is a decent proxy for the moment at which the change became obvious to ordinary people, which is usually well after it became true.

The Building Programme and Its Cost

A capital of this scale raised in a few years represents an enormous concentration of resources, and thinking about where they came from connects the foundation to the fiscal history in this series.

The requirements were substantial. A wall of over four kilometres in circuit, two palace complexes, a great mosque, quarters for an army, administrative buildings and the infrastructure to supply all of it, built largely within a decade.

The labour came from Egypt. The article on the Mosque of Amr notes that the workforce for large construction in the country was drawn from the existing population regardless of who was paying, and the same applies here.

The materials came from the standard Egyptian sources described in that article: mud brick made locally, timber scarce and imported or improvised, and stone quarried or reused. The stone rebuilding of the walls a century later was a considerably more expensive undertaking than the original mud brick circuit.

The money came from Egyptian revenue. The article on taxation sets out the fiscal system the new regime inherited intact, and the article on Fatimid Egypt describes commercial policy and the eastern trade as the other source of the dynasty’s wealth.

The timing is significant. A regime spends on a capital when it is confident, and the founding programme belongs to the establishment phase the article on the dynasty dates to about 1020, before the crises that followed.

The comparison with the later crisis is instructive. The article on the dynasty describes the disaster of the 1060s, with successive low floods, famine and the palaces plundered by unpaid soldiers, and the same buildings that had expressed the regime’s confidence became the material from which its collapse was funded.

The general observation is that monumental building is a leading indicator of a regime’s self assessment rather than of its actual position, since the decision to build precedes the results by years and a founder builds for the future he expects rather than the one he gets.

Why the Palace City Model Failed and the City Did Not

There is a paradox at the centre of this history worth confronting directly: the foundation failed completely at what it was built to do and succeeded beyond any expectation at something else.

The failure is comprehensive. The enclosure was built to keep the population out and the population came in. It was built to house a dynasty and the dynasty fell. It was built to make a religious claim visible and the claim never took hold. Its palaces were dismantled and its ceremonial ground built over.

The success is equally comprehensive. The foundation became the historic core of one of the largest cities in the world, its street plan survives after more than a thousand years, and its name is the name of a metropolis.

The explanation is that a city is a location with infrastructure, and infrastructure serves whatever purpose arrives next. Walls, gates, a principal street, a water supply, a great mosque and a defined boundary are useful to anyone, regardless of why they were built.

The comparison with the Tulunid quarter, which failed at both, is the clarifying case. That foundation was also a purpose built dynastic capital, it was also raised beside the existing city, and when its dynasty fell in 905 it was deliberately demolished and did not recover. The difference is that its dynasty lasted thirty seven years and this one lasted two centuries, which was long enough for the enclosure to acquire a population, a commercial function and a religious institution independent of the regime.

The general principle is that a purpose built settlement survives its founding purpose if it acquires other functions before its founders fall, and fails if it does not. The window is measured in generations, and the difference between the two Egyptian cases is essentially a difference in how much time each had.

The corollary is that the founding intention, however clearly legible in the plan, is a poor predictor of what a place becomes. What it predicts well is the shape of the streets.

The Older City in Its Best Century

An article about the founding of the new capital risks leaving the impression that the older city was already in decline in 969, and it was not, so the correction belongs here.

The tenth and eleventh centuries were the older city’s best period. The article on its founding sets out the excavated evidence: piped water and latrines in ordinary houses, multi storey residential blocks, imported Chinese ceramics alongside local imitations, and a density of occupation that implies a very large population.

The documentary archive from the synagogue in that quarter, described in the article on Fatimid Egypt as valuable precisely because nobody curated it, belongs overwhelmingly to this period and documents a commercial world of extraordinary reach, with correspondence and accounts running from the western Mediterranean to India.

The trade that made the Fatimid state rich passed through that city rather than through the walled enclosure, and the article on the dynasty identifies commercial policy and the eastern routes as central to its prosperity.

The industries, the workshops, the shipping and the warehouses were all there, outside the wall, because that is where the river, the wharves and the merchants were.

The implication for the walled enclosure is worth stating plainly. For two centuries the political capital of a caliphate contesting leadership of the Islamic world sat next to a commercial city that was larger, richer and more consequential in the everyday life of the region, and the caliph’s revenue came from the place his predecessors had been careful to keep outside the gates.

The general observation is that political capitals and economic capitals coincide less often than modern experience suggests, and that a country’s most important city is frequently not the one where its government sits.

What the Sources Say and Do Not Say

The character of the evidence for this foundation deserves more than the brief treatment given earlier, because several widely repeated details rest on thinner ground than their repetition suggests.

The date of 969 is secure. It appears consistently, it fits the political chronology, and the completion of the mosque in 972 provides a check.

The general’s role is secure in outline and vague in detail. That he commanded the expedition and directed the founding is well attested; what he personally decided about the plan is not recoverable.

The plan is reconstructed rather than recorded. The fullest description comes from the fifteenth century topographical compilation, whose author was describing demolished buildings from sources he sometimes names, and the reconstruction depends on reading his account against the surviving monuments and the street pattern.

The exclusion of the general population is well attested in the narrative sources and its precise terms are not. How rigorously it was enforced, what exceptions existed and what happened to a merchant delivering goods are questions the sources do not address.

The astrological story is a tradition, first appearing later, and it should be reported as such rather than woven into the narrative as fact.

The palace descriptions are among the most vivid material in the topographical compilation and among the least checkable, since nothing survives to test them against, and their vividness may reflect the author’s sources or his enthusiasm.

The population figures given in the sources for the city at various periods are unusable for the reasons already set out.

The general point is one this series makes repeatedly. A confident narrative can be assembled from this material and the confidence would be misplaced, and the honest version marks which statements are secure, which are reconstructed and which are stories.

After the Fatimids

What happened to the enclosure under the regimes that followed completes the story of how a palace city became a metropolis.

The Sunni restoration of 1171 ended the dynasty and the article on Fatimid Egypt describes the transition as remarkably frictionless, which tells you how little the Fatimid religious project had penetrated the population.

The new regime’s treatment of the capital was decisive. The palaces were dismantled, their ground was released for other uses, and the exclusive character of the enclosure ended for good. A regime with no dynastic attachment to the compound had no reason to maintain it as one.

The fortification programme that followed went in the opposite direction from the founding wall. A great citadel was built on the high ground to the east, a defensive work facing outward against real external threats, and the seat of government moved into it, which separated the ruler’s residence from the city in a new way.

The building boom of the following centuries filled the old enclosure with the religious and charitable foundations that define the medieval quarter, since a regime whose elite competed through pious endowment produces exactly that kind of urban fabric.

The commercial transformation completed after the burning of the older city, and the streets of the former palace city became the markets they still are, which is a reversal of the founding intention so complete that it is easy to forget there was one.

The absorption of the surrounding settlements followed over the succeeding centuries and accelerated enormously in the modern period, producing a metropolis containing all four foundations as districts.

The general observation is that a city’s founding purpose constrains its plan far longer than it constrains its function. The streets of 969 are still there and everything they were built to do ended eight hundred years ago.

The Founding as an Instrument of Policy

Stepping back from the physical detail, the foundation should be read as an act of policy, and identifying what policy it served explains several features that otherwise look arbitrary.

The policy was the one the article on Fatimid Egypt identifies as the dynasty’s organizing claim: leadership of the whole Islamic world, asserted against a rival caliphate, on the basis of a doctrine of designated succession that made the caliph also an imam.

The capital serves that claim in four ways and each is legible in the plan.

It provides a setting. A claim of that order requires a physical stage on which it can be performed, and the ceremonial square between the palaces is that stage.

It provides separation. A doctrine transmitted through graded initiation cannot be broadcast, and a walled enclosure controlling who enters is the architectural expression of a religious organization built on restricted access.

It provides security. A minority regime governing a large population that does not share its doctrine needs a defensible base, and it needed one more after the crisis of the 1060s than before.

It provides a statement of permanence. Building a capital rather than occupying one declares an intention to stay, and bringing the coffins of the previous caliphs from the western capital declares it beyond any recall.

What the foundation did not provide was any means of making the claim general. The article on the dynasty argues that Egypt never became Ismaili and that the frictionless Sunni restoration of 1171 is the decisive proof, and the walled capital is part of the explanation: an apparatus of persuasion operating behind a wall reaches only those already inside it.

The general observation is that the physical form of a capital records what its builders were trying to do, and where the form works against the stated aim, as a wall works against a universal claim, the contradiction is usually real rather than apparent.

The Population Inside

Estimating how many people lived within the walls in the early decades is an instructive exercise in what cannot be known, and the reasoning matters more than any figure.

The components are identifiable even where the numbers are not. A caliph’s household including family, servants, guards and attendants. An administration of officials and secretaries. The missionary organization described in the article on Fatimid Egypt. And the army, which was the largest element by far.

The army is where any estimate founders. The figures given in medieval sources for army sizes are rhetorical, as the article on the Tulunid dynasty notes, and they cannot be checked against anything.

The enclosed area supplies a physical constraint but a weak one, since the ratio of people to ground in a compound containing two palace complexes, a parade ground and a mosque is nothing like that of an ordinary urban quarter.

The comparison with the city outside sharpens the point. The older commercial city was among the largest in the world at that period and the enclosure was a fraction of its population, which is the relationship the sources describe and which the article on that foundation supports from the excavated evidence.

The direction of change is recoverable even though the levels are not. The population inside grew steadily as the exclusion eroded, and it grew sharply after 1168 when the commercial city burned, which is a statement about trend that requires no figures.

The general principle is the one the article on the Mosque of Amr applies to capacity figures. Absolute population estimates for medieval cities conceal chains of assumption inside single confident numbers, while statements about relative size and direction of change are often well supported and are usually what an argument actually needs.

The Site and Why It Was Chosen

The choice of ground is a decision with consequences that outlasted every other aspect of the founding, and the reasoning behind it can be reconstructed.

The requirements were specific. Enough open land for a walled enclosure of over a square kilometre, close enough to the existing capital to govern it, high enough to be safe from the flood, defensible, and with access to water.

The head of the Delta satisfies all of them and has done for a very long time. The article on the founding of the garrison city sets out why the position is strategically decisive: it is the single point from which both the valley and the Delta can be reached, and it has been a node since the earliest periods of Egyptian history.

The northward direction was set by what was already built. Three previous foundations occupied the ground to the south, so the only open land close enough to be useful lay north, and the drift was determined by simple availability rather than by any preference.

The higher ground toward the eastern hills offered flood safety, defensibility and better air, which the sources note as a consideration, and it also placed the enclosure above and apart from the commercial city, which suits a court.

The distance from the river is the one drawback and it produced the water supply problem the earlier section describes, which every foundation in the chain faced and each solved with progressively more infrastructure.

The consequence of the choice is that the modern metropolis grew from this point outward, and the position of the historic centre relative to the river, the desert and the Delta was determined in 969 by a general looking for somewhere to put a wall.

The general observation is that site selection is the most consequential and least reversible decision in founding a settlement, since buildings can be replaced and populations can change but a location cannot move. The four foundations in this chain made essentially the same choice four times, and the result was a single continuous urban region rather than four separate cities.

What Survives to Be Seen

A reader who will visit deserves a clear statement of what is Fatimid and what is not, since the medieval quarter is routinely described as though the whole of it dated from 969.

Three gates and sections of wall from the late eleventh century rebuilding are the most substantial military survivals, and they are genuinely of the period, genuinely impressive, and genuinely worth the visit.

The great mosque founded with the city survives, with heavy later additions and rebuilding, and the article on that institution sets out which elements belong to which period.

Two or three smaller mosques of the Fatimid period survive within and near the enclosure, in varying states of alteration, and they are the principal evidence for the dynasty’s religious architecture in the capital.

The street plan is the largest and least noticed survival. The principal thoroughfare and the general outline of the enclosure descend directly from the layout of 969, and a visitor walking that street is following a line marked on open ground more than a thousand years ago.

Almost everything else is later. The great mass of the medieval quarter’s buildings, the mosques, madrasas, tombs, markets, fountains, caravanserais and houses that make it one of the richest concentrations of medieval architecture anywhere, belongs to the Ayyubid, Mamluk and Ottoman periods.

The palaces are gone entirely, along with the ceremonial square and the regimental quarters as identifiable entities, and their absence is the reason the founding purpose is so easy to miss on the ground.

The general caution is the one the article on the Mosque of Amr develops at length. What survives from any period is a sample shaped by what later regimes had reason to keep, and reasoning from the surviving fabric to the original character of a place will systematically mislead. The Fatimid city is best understood from its plan, which survives, rather than from its buildings, which mostly do not.

The Transfer of a Caliphate

The four year gap between the founding and the caliph’s arrival is worth examining, because moving a caliphate is a different operation from moving a government.

The dynasty’s earlier capital lay in North Africa, where it had ruled since 909, and the article on Fatimid Egypt insists on keeping the three dates apart: the dynasty founded in Ifriqiya in 909, Egypt taken in 969, the caliph arriving in 973.

The move was planned rather than opportunistic. Egypt had been attempted before and the successful expedition of 969 came after long preparation, including the accumulation of resources and, according to the sources, the stockpiling of supplies against the famine conditions the expedition would encounter.

The four year interval was the time required to build a capital fit to receive a caliph, and the fact that the caliph waited rather than arriving to a construction site says something about how the transfer was conceived. He was not moving to Egypt; he was moving to a completed seat.

What travelled with him was more than a household. The sources describe the coffins of his predecessors being brought from the western capital, which is as clear a statement as could be made that the dynasty’s centre had moved permanently and that there would be no return.

What was left behind was the North African base, entrusted to a governing family that became autonomous within a few generations, and the loss of that base is part of the long term weakening the article on the dynasty describes.

The strategic logic of the move was sound. Egypt was richer, better placed for the eastern ambitions the dynasty held, and defensible in ways the North African territories were not, and a caliphate contesting leadership of the Islamic world needed to be closer to its rival.

The general observation is that capital transfers are among the most revealing acts a regime performs, since they require enormous expenditure for no immediate return and are therefore undertaken only when a regime’s sense of its own future has changed.

The Chain of Four Foundations

This foundation completes a sequence that runs across three centuries, and setting the four side by side is the most efficient way to see what was standard and what was new.

The first was the garrison settlement of the 640s, described in its own article, founded by a conquering army on open ground at the head of the Delta, with ground allotted to tribal contingents around a core containing the congregational mosque and the governor’s residence.

The second was the administrative annexe added after the mid eighth century change of ruling dynasty, a smaller foundation immediately north of the first, built for a new regime’s officials.

The third was the Tulunid quarter of the 870s, described in the article on that dynasty, further north again, with a palace, a parade ground and the great mosque that still stands, and destroyed in 905 when the dynasty fell.

The fourth is this one, further north once more, larger, walled, and built for a caliph rather than a governor.

The constants across all four are striking. Each was built beside rather than within its predecessor. Each moved north. Each allotted ground to military contingents by group. Each contained a congregational mosque and a seat of government. And in three of the four cases the mosque survived while the government buildings did not.

The variables are equally clear and they track the status of the founder. A governor builds an annexe, an autonomous ruler builds a quarter with a palace and a parade ground, and a caliph builds a walled city with two palaces and a ceremonial square. The scale of the foundation is a direct index of the claim.

The cumulative result is the northward migration described in the article on the Mosque of Amr, in which the modern metropolis sits at the end of a chain of four moves totalling only a few kilometres but spanning three centuries.

The general observation is that the pattern of building beside rather than within, followed four times over three centuries by four different regimes, is not a coincidence but a stable response to a stable set of conditions: a crowded existing city, an army needing quarters, and open ground available in one direction.

The Mosque Within the Walls

The great mosque founded with the city occupies a particular position in this story and the article on it treats the institution, so this section explains its place in the plan.

Its inclusion in the founding programme is significant in itself. A palace city that builds a congregational mosque within its walls in the first three years is providing for communal worship on a scale that a court alone does not require, which indicates a larger population was expected inside than the strict exclusion suggests.

Its purpose for the regime was doctrinal as well as devotional. The article on Fatimid Egypt describes a missionary apparatus operating as a second administration, and a mosque in the new capital served as a centre for the teaching that supported the dynasty’s claim.

Its position within the enclosure placed it near the palaces and the ceremonial ground, which locates it in the regime’s ceremonial geography rather than in a public one.

Its completion in 972 makes it the fourth in the chain of great congregational mosques the article on the Mosque of Amr sets out, after the original garrison foundation, the eighth century annexe and the Tulunid mosque.

Its survival is the reason it matters so much. Like the Mosque of Amr and the Tulunid mosque, it was inherited rather than destroyed when the dynasty fell, for the reason given in the article on the earlier building: destroying a congregational mosque costs legitimacy in a way that dismantling a palace does not.

Its subsequent transformation into an institution of the first rank happened under later regimes with different doctrinal commitments, which is a considerable irony and the subject of its own article.

The general point for this article is that the mosque is the only element of the founding programme that both survived and grew, and its survival while the palaces vanished is the clearest available illustration of which kinds of building outlast the regimes that raise them.

Water, Supply and the Practical City

A court of several tens of thousands of people on rising ground away from the river has practical requirements, and how they were met is worth setting out because it explains part of the site’s later shape.

Water was the first problem and it is the recurring one for every foundation in this chain. The article on the founding of the original garrison city describes the difficulty of supplying a settlement on ground above the river, and the article on the Tulunid quarter notes an aqueduct built for exactly this reason.

The solutions were the standard ones: wells, cisterns, water carried by animal from the river, and eventually aqueducts and lifting devices. A court with gardens, baths and fountains consumes an enormous quantity, and the provision was a substantial engineering undertaking.

Food came from outside and this is where the exclusion begins to break down. A large non productive population must be fed by a supply chain, and a supply chain requires markets, warehouses, carters and merchants, none of which the founding plan provided for.

The initial arrangement drew supplies from the commercial city outside, which is workable at first and generates a heavy daily traffic through the gates.

The eventual arrangement was that suppliers settled inside, because a merchant serving the court does better living near it, and that settlement is one of the mechanisms by which the closed enclosure became an ordinary district.

Waste, fuel, building materials and the ordinary logistics of a large population posed the same problem and produced the same result.

The general observation is that the exclusion of a commercial population from a court city is unsustainable in principle, because the court’s own consumption creates the demand that draws merchants in. A palace city either opens or it fails, and the ones that fail tend to be the ones whose dynasties ended before the opening could happen, which is precisely what happened to the Tulunid foundation.

The Regimental Quarters

The allotment of ground to the contingents of the army is the part of the plan that most closely repeats earlier Egyptian practice, and it carries a warning the dynasty failed to heed.

The method was the one used at the original garrison foundation. Ground is divided into blocks, each assigned to a named group, and each group organizes its own interior. The article on that foundation describes the resulting settlement as planned only at the largest scale, and the same is true here.

The groups in question were the four imported military elements the article on Fatimid Egypt identifies: Berber troops from the dynasty’s North African base, Turkic soldiers, African infantry and, later, Armenian contingents. Each had its own quarter.

That arrangement makes practical sense, since men of the same origin speaking the same language and serving under the same commanders live together more easily than they live mixed.

It also builds a factional geography into the city. Separate quarters with separate loyalties, separate commanders and separate grievances are a physical infrastructure for exactly the kind of conflict the article on the dynasty describes tearing the state apart in the crisis of the 1060s, when the army factions fought each other in the capital and the palaces were plundered.

The comparison with the Tulunid case is direct. The article on that dynasty identifies an army of imported groups held together only by pay and personal authority as the structural flaw that destroyed the regime after its founder’s death, and the Fatimid army repeated the failure mode with more groups and a longer run.

The quarters left their names on the urban fabric, and several districts of the medieval city carry names descending from the contingents settled there in 969, which is a durable trace of a military allocation.

The general point is that a plan which organizes a population by origin creates units that can act as units, and a founder allotting ground by regiment is building the infrastructure of factional conflict at the same time as he builds the barracks.

The Ceremonial Square

The open ground between the two palaces is the feature that most clearly reveals the foundation’s purpose, and it deserves to be understood as a working instrument rather than as empty space.

Its function was display. The article on Fatimid Egypt sets out that court ceremonial was the principal instrument by which a transcendent claim was made visible, since a caliph who is also an imam cannot demonstrate that status through administration and must demonstrate it through appearance.

The processions were the mechanism. A ruler emerging from a palace, crossing an open ground before assembled troops and officials arranged by rank, and entering the facing palace or the mosque, performs a hierarchy in a way that everyone present understands immediately and that no document achieves.

The audience was internal. The square lay inside the walls and the population of the country was outside them, so the performances were directed at the army, the officials, the missionary organization and visiting representatives rather than at the general public.

That is a significant limitation on the whole apparatus and it connects to the argument of the article on the dynasty. A claim to universal leadership that is performed only for the people already committed to it is preaching to an audience that needs no persuading, and the Fatimid failure to make their doctrine general in Egypt has something to do with the fact that their central instrument of persuasion operated behind a wall.

The exception was the public festivals, several of which took the court outside the enclosure, including the annual observances connected with the flood that the article on the dynasty describes as a Shia caliph doing exactly what pharaohs had done.

The square’s later fate matches the palaces’. Once the dynasty fell and the palaces were dismantled, the ceremonial ground had no function, and it was built over like everything else.

The general observation is that ceremonial space is among the most fragile kinds of urban provision, since it serves a specific regime’s specific claim and becomes worthless the moment that claim ends, whereas a mosque or a market serves any regime at all.

Reading the Wall

The wall around the foundation deserves a section of its own, because a wall is one of the most legible statements a builder can make and this one says something unusual.

A fortification normally faces an external enemy, and its design reflects the threat. Height and thickness against assault, towers for flanking fire, gates designed to slow an attacker, and a circuit enclosing the population being protected.

The founding circuit of 969 did none of that in any serious way. It was mud brick, adequate against disorder and useless against a siege, and it enclosed the rulers rather than the ruled, with the population of the country outside it.

That configuration identifies its purpose precisely. It was a boundary of access rather than a defence, marking where the court began and controlling who crossed the line, which is a function closer to a palace enclosure wall than to a city wall.

The stone rebuilding of the later eleventh century was a different thing entirely. By that point the regime faced real external threats, the crisis described in the article on Fatimid Egypt had shaken it badly, and a vizier of Armenian origin rebuilt the circuit in stone with monumental gates showing serious military engineering.

The three surviving gates from that rebuilding show what a wall built against an enemy looks like: vaulted passages, flanking towers, careful geometry restricting an attacker’s approach, and construction techniques associated with the fortification traditions of the north.

The contrast between the two circuits is therefore a record of the regime’s changing situation. The first wall managed a population; the second defended against armies, and the material and the engineering of each match its purpose exactly.

The transferable point is that fortifications should be read for what they face. A wall enclosing the rulers with the ruled outside it is a statement about the relationship between them, and noticing which way a defence points is often more informative than measuring how strong it is.

The Palace City as a Type

This foundation belongs to a recognizable category of settlement, and setting it against its relatives clarifies what was standard about it and what was not.

The type is the purpose built royal capital: a city founded by a ruler, on ground of his choosing, laid out to a plan, to house a court and an army rather than to serve an economic function. Such foundations appear across many periods and regions, and they share a set of characteristics.

They are planned rather than grown, which produces regularity at the largest scale and a legible principal axis. They are built quickly, which requires enormous resources concentrated by a single authority. They are often walled, since exclusivity is part of the point. And they are frequently abandoned or transformed when the dynasty that built them falls.

How did Cairo compare to other new Islamic capitals?

It belongs to a familiar type of purpose built royal capital, planned rather than grown, walled, raised quickly and closed to the population. What distinguishes it is survival. Most such foundations shrank or vanished when their dynasty fell, and this one absorbed the older commercial city instead.

The Islamic world produced several such foundations, including the great planned round city built in Iraq in the eighth century as a caliphal capital and the palace complexes built by later rulers, and the pattern of rapid construction followed by partial abandonment is common to most of them.

The Egyptian chain is itself a sequence of related but smaller foundations, as the articles on the earlier quarters describe, and this one differs from its predecessors in scale, in ambition and in the completeness of the exclusion.

The distinguishing feature here is survival. Most purpose built royal capitals shrink or vanish when their reason for existing ends, as the Tulunid quarter did in 905, and this one did the opposite: it absorbed the commercial city it had been built beside and became the metropolis.

The reason it survived is worth naming. It stood at a good site on the rising ground at the head of the Delta, it had a great mosque that outlasted the dynasty, its walls were rebuilt in stone by a regime that intended to stay, and the burning of the older city removed its rival at exactly the moment it was ready to absorb the population.

The general observation is that a purpose built capital survives when it acquires functions beyond the ones it was built for, and this one acquired commerce, population and a religious institution of the first rank, none of which were in the plan.

The Growth Into a Metropolis

The transformation from closed compound to great city ran across several centuries and its stages are worth setting out.

The first stage, across the century after 969, was internal settlement. Servants, suppliers, craftsmen and officials attached to the court settled inside, the exclusion eroded, and the enclosure began to function as a district rather than a compound.

The second stage was the stone rebuilding of the walls in the later eleventh century on a larger circuit, which enclosed more ground and signalled that the regime expected the place to endure.

How did Cairo grow over time?

In stages. Settlement filled the original enclosure across the century after 969, the walls were rebuilt in stone on a larger circuit in the later eleventh century, the burning of the older commercial city in 1168 transferred population and business north, and the Ayyubid and Mamluk periods brought a great building boom that produced most of the surviving medieval fabric.

The third stage was the transfer following the 1168 burning, which brought population and commerce north and converted the walled enclosure and its surroundings into the region’s economic centre.

The fourth stage was the medieval building boom under the Ayyubid and Mamluk regimes, which produced the mosques, madrasas, markets, caravanserais and residential architecture that make up most of the surviving medieval fabric.

The fifth stage was expansion beyond the walls in every direction, which continued through the Ottoman period and accelerated enormously in the modern era, absorbing the older city, the Tulunid quarter and the original garrison settlement as inner districts.

The principal thoroughfare laid out in 969 remains the spine of the medieval quarter through all of this, which is a remarkable persistence for a line marked on open ground more than a thousand years ago.

The general point about urban growth is that a city’s original plan constrains its later shape far longer than anyone expects, because streets and property boundaries are extremely durable even when every building on them is replaced.

Jawhar

The general who founded the city occupies an unusual position and deserves treatment in his own right.

He was a military slave by origin, of the kind described in the article on the Tulunid dynasty, who rose through the Fatimid service in North Africa to command the expedition that took Egypt.

His conduct of the occupation is the thing most worth noting. The article on Fatimid Egypt describes formal guarantees to the population and famine relief rather than a campaign of conquest, and a commander who takes a country by negotiation and then builds his sovereign a capital beside it rather than seizing the existing one is following a coherent policy of minimum disruption.

Who was Jawhar and what was his role?

The general commanding the Fatimid expedition that took Egypt in 969. A military slave by origin who rose through the dynasty’s service in North Africa, he conducted the occupation by negotiation rather than campaign, founded the new walled capital, began its great mosque, and governed the country for four years until the caliph arrived from the west.

He governed for four years before the caliph arrived, and during that period he was building a city, running a country, defending a frontier and administering the transfer of a caliphate, which is an unusually broad brief.

His later career was less fortunate, as the careers of over successful generals usually are, and he was displaced from influence after the caliph’s arrival.

The general point about founders is one the article on the Mosque of Amr also makes. Attributing a foundation to a single named individual is a convention of the sources rather than a description of the work, and a project of this scale involved surveyors, engineers, administrators and a workforce whose names are unrecorded.

The Evidence Problem

What is known about the founding rests on a particular body of material with characteristic strengths and weaknesses, and setting them out is necessary before the details are used.

The principal source for the plan and the buildings is the great fifteenth century topographical compilation on Egypt, whose author drew on earlier and now lost works and described the Fatimid city in detail. He was writing four and a half centuries after the founding, about palaces already demolished, using sources he sometimes names and sometimes does not.

The narrative histories supply the political framework, the sequence of the occupation, the caliph’s arrival and the succession of viziers, and they are closer in time and more reliable for events than for buildings.

The surviving monuments are the physical control and there are three of first importance: the great mosque founded with the city, the stone gates of the late eleventh century rebuilding, and sections of the wall. Everything else from the Fatimid period within the enclosure is either later or gone.

Excavation has been limited by the fact that the site has been densely occupied continuously since, which is the same problem the article on the Tulunid quarter describes.

The documentary archive from the older city, described in the article on that foundation, is invaluable for the period and tells us far more about the commercial city outside the walls than about the court inside them, which is a useful reminder that our evidence and our subject frequently do not coincide.

The consequence is a familiar asymmetry. The palace city is known chiefly from a late description of vanished buildings, while the commercial city it excluded is known from thousands of ordinary documents written by the people who lived there.

Studying the Founding

For a student, this topic organizes around a small number of facts and one interpretive claim.

Be able to date the founding to 969 and to name the general who conducted it and the caliph who arrived four years later. Be able to state the purpose as a royal and military enclosure rather than a commercial foundation. Be able to describe the plan as a walled rectangle with two facing palaces, a ceremonial square, regimental quarters and a congregational mosque. Be able to explain the exclusion of the general population and its gradual erosion. Be able to place the foundation as the fourth in the chain and to explain why each ruling group built beside rather than within. And be able to give the transfer of primacy from the older city as a two century process accelerated by the 1168 burning.

The table in this article carries that structure, and you can save this guide and build your own Egypt timeline free on VaultBook, where placing the four foundations on a single axis makes the northward drift visible as one continuous process rather than four disconnected events.

The transferable habit is reading a city plan as a statement of intent. A settlement’s original layout records what its founder wanted it to be, and features that seem arbitrary to a later visitor, a wall in a country with no enemy, an empty square in a crowded quarter, a principal street running between two gates, are usually the clearest surviving evidence of the founding purpose.

A second habit concerns the difference between origin and outcome. This city became something entirely unlike what it was built to be, and treating its later character as evidence of its founding intent would produce a completely wrong account.

Myths Worth Correcting

Six claims about the founding circulate and each misleads in a specific way.

The first is that Cairo replaced the older capital in 969. It did not. The older city remained larger, richer and more populous for roughly two centuries afterward, as the article on that foundation establishes.

The second is that Cairo was founded as a commercial city. The plan contains no significant commercial provision and the commercial population was deliberately left outside the wall.

The third is that the astrological story of the name is history. It is a tradition of the kind that attaches to notable foundations, first recorded later, doing literary work.

The fourth is that the Fatimids founded Cairo on virgin ground with no precedent. The foundation was the fourth in an established Egyptian chain and used the same allotment principle as the first.

The fifth is that the surviving medieval quarter is Fatimid. Its street plan descends from the Fatimid layout and almost all its buildings are Ayyubid, Mamluk or Ottoman, and the Fatimid survivals are the mosque, three gates and fragments.

The sixth is that the walls were built against an external enemy. The founding circuit enclosed a court against the population of the country it governed, which is a different kind of fortification, and the stone rebuilding a century later did have external threats in view.

A seventh belief is a proportion error rather than a myth, which is treating the founding as the beginning of urban life at the site. Urban life at the head of the Delta was already three centuries old in the Islamic period alone and far older than that in the wider region.

The Verdict

The argument this article has defended is that Cairo’s origin was a closed royal enclosure and that everything unusual about its later shape descends from that beginning.

The evidence for the claim is the plan itself. Two facing palaces with a ceremonial ground between them, quarters allotted to regiments, a wall with controlled gates and no commercial provision is not the plan of a city. It is the plan of a court with an army attached, and reading it any other way requires ignoring what was built.

The exclusion is the second piece of evidence and it is explicit in the sources. A foundation that keeps the population of the country out is making its purpose unambiguous.

The transformation into a metropolis was accidental in the sense that nothing in the founding plan anticipated or provided for it. The enclosure acquired commerce because a court needs supplying, acquired population because the exclusion could not be sustained, and acquired primacy because the city it had been built beside burned.

The durability of the plan is the last and most striking thing. The principal thoroughfare, the general outline of the enclosure and the position of the great mosque are all still legible after more than a thousand years, and a visitor walking the medieval quarter is walking a tenth century royal compound whose walls came down and whose palaces vanished.

The qualifications are those stated throughout. The original layout is reconstructed from a late description rather than observed. The palaces are gone. The date of opening is not recorded. The astrological story is a tradition.

What remains is the observation the article opened with. A general marked out a rectangle on open ground in 969 to keep a caliph safe from the people he had come to rule, and the rectangle is now the historic heart of one of the largest cities on earth, full of exactly the crowds it was designed to exclude.

Frequently Asked Questions

Q: How was Cairo founded?

By the general commanding the Fatimid expedition that occupied Egypt in 969, acting for a caliph who was still in North Africa. Immediately after the negotiated occupation he marked out a rectangle of open ground north of the existing capital, walled it in mud brick, and built two facing palaces separated by a ceremonial square, quarters allotted to the regiments of the army, administrative buildings and a great congregational mosque completed in 972. The caliph for whom it was built arrived from the west in 973, four years after work began, and the general governed Egypt in the interval.

Q: Why was Cairo built?

To house a caliph, his household and his imported army in a controlled and defensible enclosure at the moment a rival caliphate transferred its seat to Egypt. Four reasons combined. The existing capital was full and commercially owned. Every previous ruling group in Islamic Egypt had built beside rather than within, so the precedent was overwhelming. The dynasty held a doctrinal position the Egyptian population did not share, and its caliph carried a religious status that made controlled access valuable. And a newly arrived minority regime with an imported army wanted a defensible compound of its own.

Q: What does the name Cairo mean?

It derives from an Arabic name meaning the victorious or the subduer, from a root carrying the sense of overcoming or compelling. It was applied to the new foundation in 969 rather than describing anything already present at the site. The sources attach a story linking it to a planet associated with conflict and dominance, said to have been rising when work began, though an alternative reading takes it as a straightforward political declaration by a dynasty that had just taken the richest province in the Islamic world and intended to take the rest. The two readings are compatible.

Q: What year was Cairo founded?

969, immediately following the Fatimid occupation of Egypt in that year. Construction began at once and the great mosque within the walls was completed in 972. The caliph for whom the enclosure was built arrived in 973, four years after the founding, having travelled from the dynasty’s earlier capital in North Africa. That gap between founding and occupation is itself informative: a capital built to receive a ruler who is not yet present indicates a transfer planned well in advance rather than an opportunistic response to a conquest.

Q: Was Cairo built as a palace city?

Yes, and this is the central fact about its origin. The plan consisted of two facing palaces separated by a large ceremonial square, with quarters allotted to the regiments of the army around them, a congregational mosque, administrative buildings and the households and services attached to a court. It contained no significant commercial provision, because the commercial city was deliberately left outside the wall. A walled rectangle containing a doubled royal residence, a parade ground and an army is the plan of a court rather than of a settlement.

Q: How did Cairo become Egypt’s capital?

It was the seat of government from its founding in 969, but it became the capital in the full sense only as the older commercial city declined, which took roughly two centuries. Throughout that period the older city remained larger, richer and more populous, holding the region’s commerce, its documentary archive and most of its people. The deliberate burning of that city in 1168, undertaken to deny it to an approaching army, devastated the commercial centre and accelerated a transfer already underway, after which population and business moved north into and around the walled enclosure.

Q: How was Cairo laid out originally?

As a walled rectangle of something over a square kilometre, roughly regular, with gates on each side and a principal thoroughfare running between the northern and southern gates. Two palaces, a great eastern one and a smaller western one, faced each other across a large open ceremonial square at the centre. Around them, ground was allotted in blocks to the contingents of the army by origin, each group with its own district, using the same allotment principle applied at the original garrison foundation three centuries earlier. A congregational mosque was built within the walls and completed in 972.

Q: How did Cairo grow over time?

In five stages. Settlement filled the original enclosure across the century after 969 as servants, suppliers and officials moved inside and the exclusion eroded. The walls were rebuilt in stone on a larger circuit in the later eleventh century. The burning of the older commercial city in 1168 transferred population and business north. The Ayyubid and Mamluk periods brought a great building boom producing most of the surviving medieval fabric. And expansion beyond the walls continued through the Ottoman and modern periods, eventually absorbing the older city, the Tulunid quarter and the original garrison settlement as inner districts.

Q: Who was Jawhar and what was his role?

The general commanding the Fatimid expedition that took Egypt in 969. A military slave by origin, of the kind that formed the professional armies of the period, he rose through the dynasty’s service in North Africa to lead the expedition. He conducted the occupation by negotiation rather than by campaign, offering formal guarantees to the population and famine relief, then founded the new walled capital, began its great mosque, and governed Egypt for four years until the caliph arrived. His later career declined after that arrival, which is the usual fate of over successful generals.

Q: Could ordinary people enter early Cairo?

Not freely, and not to reside. The enclosure was built for the caliph, his household, his officials and his regiments, and the commercial and residential population of the region continued to live in the older city outside the walls. Access was controlled at the gates, which is what a wall around a compound in a country facing no immediate external threat is for. The restriction connects directly to the dynasty’s position: a regime whose central religious claim was not shared by its subjects, and whose doctrine was transmitted through graded initiation, had strong reasons for controlled access.

Q: What buildings stood inside the original walls?

Two palaces facing each other across a large ceremonial square, which was the setting for the processions and public appearances on which the regime’s claim depended. Quarters allotted to the regiments of the army by origin filled much of the remaining ground. A great congregational mosque was completed in 972. Administrative buildings, treasuries, workshops serving the court and the households of officials made up the rest. What is conspicuously absent is any significant commercial provision, since markets and merchants were exactly what the foundation was designed to exclude.

Q: Why did the Fatimids not simply use Fustat?

Because the existing capital was full, crowded and commercially owned, and a regime arriving with an imported army needed ground it controlled outright. Building beside rather than within was also the established Egyptian pattern: every previous ruling group had done it, and this was the fourth foundation in that chain. Beyond the practical reasons, the occupation had been conducted with formal guarantees to the existing population, so clearing space inside their city would have contradicted the terms of entry, and a caliph claiming leadership of the whole Islamic world needed a setting built for the claim.

Q: What were Cairo’s original gates and walls like?

The founding circuit of 969 was mud brick with gates on each side, and nothing of it survives. A vizier rebuilt the walls in stone on a larger circuit in the later eleventh century, at a point when external threats had become real, and three monumental gates from that rebuilding survive as among the finest military architecture of the medieval Islamic world. They show sophisticated engineering with vaulted passages, flanking towers and carefully designed defensive geometry, and they are the most substantial physical remains of the Fatimid city apart from its great mosque.

Q: When did Cairo open to the general population?

Gradually, across roughly the century following its founding, with no recorded moment of opening. The restriction was undermined by the enclosure’s own operating requirements: a court needs servants, suppliers, craftsmen and traders, those people need to live near their work, and a compound of that size cannot function while sealed. By the later Fatimid period the enclosure was operating as an ordinary urban district rather than a closed compound, and the decisive change came after 1171 when the palaces were dismantled and their ground given over to other uses.

Q: How big was the original walled city?

Something over a square kilometre, which is large for a palace compound and small for a city. That scale is itself evidence of what the foundation was for: it comfortably held a court, two palace complexes, a ceremonial square, regimental quarters and a great mosque, and it made no provision for a general population. The stone rebuilding of the later eleventh century enclosed a somewhat larger circuit. For comparison, the older commercial city outside held a population many times larger on a considerably greater area.

Q: Did the Fatimids plan Cairo on a grid?

Not in the strict sense. The enclosure was a planned rectangle with a clear principal axis running between the northern and southern gates, and ground was allotted in blocks to the regiments, which produces regularity at the largest scale. Within each quarter, development followed its occupants’ needs rather than an imposed street pattern, which is exactly the arrangement described at the original garrison foundation three centuries earlier. The result is a city planned at the level of the circuit and the main axis, and organic below that.

Q: What happened to Cairo’s Fatimid palaces?

They were dismantled after the Sunni restoration of 1171, and the ground was progressively developed with other buildings until later medieval construction covered the site. Almost nothing survives above ground. The fate is the standard one for purpose built dynastic architecture: a palace belongs to a dynasty and destroying it is politically useful to a successor, whereas a congregational mosque belongs to the community and destroying it costs legitimacy. The great mosque founded with the city in 969 is accordingly still standing and still functioning, while the palaces that were the entire point of the foundation are gone.

Q: Why is Cairo called the victorious city?

Because its Arabic name derives from a word meaning victorious or subduing, applied at the foundation by a dynasty that had just taken Egypt and intended to take the rest of the Islamic world from it. The sources attribute the choice to astrologers observing a planet associated with conflict and dominance at the moment work began, and a straightforward political reading requires no astrologers at all. The two are compatible, since a dynasty choosing an astrologically justified name would naturally choose one carrying the meaning it wanted anyway.

Q: Was Cairo built on an empty site?

Substantially yes. The ground chosen lay north of the existing settlements on higher land, with scattered occupation and garden land rather than an established urban area, and the choice of open ground was deliberate. The whole purpose of the foundation was to build a controlled enclosure to a plan, which requires unencumbered land, and taking over an occupied area would have contradicted both the practical requirement and the guarantees given to the existing population at the occupation. The site continued a northward drift that three earlier foundations had already established.

Q: How did Cairo compare to other new Islamic capitals?

It belongs to a familiar type: the purpose built royal capital, planned rather than grown, walled, raised quickly by a single authority with concentrated resources, and closed to the general population. The Islamic world produced several, including a great planned caliphal capital in Iraq in the eighth century, and the usual pattern is rapid construction followed by decline or partial abandonment when the founding dynasty falls. What distinguishes this one is survival. It acquired commerce, population and a religious institution of the first rank, none of which were in the plan, and became a metropolis instead.