The anomaly began as a fort. When Britain leased the New Territories in 1898, the treaty carved out the small walled Chinese garrison post at Kowloon — Chinese officials could remain “except so far as may be inconsistent with the military requirements for the defence of Hong Kong.” Britain expelled the officials within a year but never regularised the ground; China never renounced it. The result was a jurisdictional orphan: a few acres where British writ was disputed, Chinese writ was theoretical, and neither side could act without a diplomatic incident.

After 1945, refugees from China’s civil war poured into the vacuum. Squatter huts became tenements became towers, built without permits, architects, or codes, each new block braced against and burrowed into its neighbours until the City fused into a single organism: some 300-plus interlinked buildings on 2.6 hectares, capped at roughly 14 storeys only by the flight path into Kai Tak airport, whose landing jets filled the alleys with thunder. At its late-1980s peak the official survey counted about 35,000 residents (estimates ran higher) — a density around 1.3 million people per square kilometre, the highest ever reliably recorded anywhere.

The city that ran itself

The 1960s-70s City was genuinely dark: Triad-run opium divans, gambling halls, and brothels, with police entering — when at all — in force. But the enduring truth documented by photographers Greg Girard and Ian Lambot was stranger and gentler: a functioning community self-organised in law’s absence. A resident-run kaifong association mediated disputes; informal wiring and a forest of rooftop aerials brought power and television; wells and a tangle of pipes moved water to rooftop tanks; postmen learned the three-dimensional maze and delivered to it. The economy was the loophole made flesh: hundreds of unlicensed dentists and doctors (many with mainland qualifications Hong Kong refused to recognise) served working-class patients at unbeatable prices, while the City’s noodle works and fishball factories — untroubled by health inspectors — supplied restaurants across Hong Kong. Children did homework on the rooftops, the City’s one open space, under the landing gear.

An interior of permanent lamplight, dripping pipes, and two-metre-wide “streets” earned the Cantonese nickname the photographers took for their book: City of Darkness.

Demolition and afterlife

With the 1984 agreement on Hong Kong’s 1997 handover, the anomaly lost its diplomatic function; Britain and China jointly announced clearance in 1987. Residents and businesses were compensated and rehoused — not without protest — and demolition ran 1993-94, pausing for archaeologists to recover the old fort’s granite lintels and cannon, which now furnish the tranquil Kowloon Walled City Park on the site.

Extinct, the City became immortal: endlessly cited in urbanism seminars (Girard and Lambot’s survey is a design-school staple), cloned in film sets, video games, and a Kawasaki amusement arcade rebuilt down to the dripping pipes — the modern world’s favourite thought experiment about what people build when nobody is in charge, conducted once, at full scale, with the results demolished just as everyone realised what they had.