For 99 years, a patch of land smaller than a shopping mall sat inside British Hong Kong answering to neither London nor, in any practical sense, Beijing. This was the Kowloon Walled City, a 6.5-acre enclave that China deliberately carved out of the 1898 lease that gave Britain control of the New Territories. While the Union Jack flew over the surrounding streets, this tiny rectangle of territory remained, on paper at least, sovereign Chinese soil.
The story of why China kept one tiny enclave inside British Hong Kong is really a story about sovereignty, diplomatic leverage, and the refusal to accept the finality of colonial humiliation. China never ceded the Walled City. It was not an oversight in the treaty. It was a deliberate, pointed exception that Beijing maintained as a living reminder that Britain’s hold on Hong Kong was temporary.
That exception created one of the strangest places in modern history. With neither government willing or able to govern it, the Walled City grew into a densely packed, self-governing settlement of 33,000 people, a place with no police, no building codes, and no municipal services. It became known as Hak Nam, the City of Darkness, and it stood as a physical monument to a diplomatic standoff that lasted nearly a century.
I have spent years researching colonial-era territorial anomalies, and the Kowloon Walled City remains the most fascinating case I have encountered. No other enclave in modern history combined such extreme population density with such a complete absence of government. The fact that it arose from a single clause in a lease agreement makes it even more remarkable.
Table of Contents
Quick Answer: The Short Version
China kept the Kowloon Walled City as an enclave inside British Hong Kong because it refused to formally cede the site during the 1898 lease negotiations for the New Territories. The Walled City had been a Qing dynasty military fort and administrative seat, and Chinese negotiators insisted that it remain under Chinese jurisdiction even as the surrounding land was leased to Britain for 99 years.
The result was a jurisdictional no-man’s-land. Britain treated the site as outside its authority. China claimed sovereignty but could not practically administer an enclave surrounded by British territory. Neither side wanted to provoke a diplomatic crisis over 6.5 acres of land, so the anomaly persisted for decades, ultimately becoming one of the most densely populated places on Earth.
The enclave was finally resolved through the 1984 Sino-British Joint Declaration, which paved the way for Hong Kong’s full return to China in 1997. The Walled City was demolished between 1993 and 1994 and replaced with a traditional Chinese garden park that opened in 1995.
The Military Origins: A Qing Dynasty Fortress
To understand why China cared so much about this particular patch of land, you have to go back centuries before the British ever arrived. The site that became the Kowloon Walled City was not just random territory. It was a purpose-built military installation with deep strategic and symbolic significance for the Chinese empire.
From Coastal Watchpost to Imperial Garrison
The origins of the Walled City trace back to the Song Dynasty (960 to 1279), when the site served as a modest coastal watchpost tasked with monitoring maritime traffic and guarding against pirates. The location was deliberate. It sat on the Kowloon Peninsula overlooking the approach to what is now Victoria Harbour, giving Chinese forces a commanding view of any ships entering the waterway.
In 1810, during the Qing Dynasty, the imperial government upgraded the post into a proper military fort. The fort received granite walls, a formal garrison, and an administrative headquarters called the Yamen, which housed the local Chinese magistrate and military commander. The Walled City was now a small but officially recognized seat of Qing administration, complete with soldiers, civil servants, and a functioning bureaucracy.
This matters enormously for understanding the enclave question. When Britain began expanding its colonial footprint in Hong Kong, the Walled City was not empty land or a sleepy village. It was an active Chinese military and administrative installation, staffed by imperial officials who answered directly to the Qing court. China had every reason to treat it differently from the surrounding farmland and fishing villages.
The fort also held cultural and feng shui significance. Chinese military planners chose the site for its alignment with surrounding hills and its position relative to the harbor. In Qing cosmology, a properly sited fort protected not just the coastline but the spiritual integrity of the empire’s southern frontier. Abandoning such a site to foreign control would have carried weight beyond mere territory.
The First and Second Opium Wars Redraw the Map
The Opium Wars of the 19th century completely transformed the relationship between China and Britain, and they set the stage for the enclave that followed. The First Opium War (1839 to 1842) ended with the Treaty of Nanjing, which forced China to cede Hong Kong Island to Britain in perpetuity. This was the first major territorial concession extracted from a weakened Qing Dynasty, and it stung deeply.
The Second Opium War (1856 to 1860) produced an even larger loss. The Convention of Peking in 1860 required China to cede the southern portion of the Kowloon Peninsula, the area south of what is now Boundary Street, to Britain as well. Stonecutters Island was included in the cession. Each treaty permanently transferred sovereignty. There was no lease, no expiration date, and no return clause.
By the 1860s, Britain held Hong Kong Island and the southern tip of the Kowloon Peninsula. But the Qing garrison in the Walled City was still standing, still staffed by Chinese officials, and still technically on Chinese soil. The fort now sat on the Chinese side of the new colonial border, just north of Boundary Street, a lonely outpost of imperial authority staring across at the expanding British colony.
This is the critical context most accounts skip. The Walled City was not some random village that happened to be excluded from a lease. It was the last functioning piece of Qing military and administrative infrastructure in the Hong Kong region. When the next round of negotiations came in 1898, China had a very specific reason to protect it.
The 1898 Lease: How Britain Took the New Territories But Left One Hole
The events of 1898 are the heart of this story. This is the moment when Britain dramatically expanded its Hong Kong territory and when China made the deliberate decision to carve out the enclave that would persist for the next century. Understanding the specific treaty mechanics is essential to answering why China kept one tiny enclave inside British Hong Kong.
The Second Convention of Peking
In June 1898, Britain and Qing China signed the Convention Between Great Britain and China Respecting an Extension of Hong Kong Territory, commonly known as the Second Convention of Peking. The agreement leased a vast stretch of land, the New Territories, to Britain for 99 years. This included everything north of Boundary Street on the Kowloon Peninsula, plus over 200 outlying islands, stretching all the way to the Shenzhen River.
The lease was massive in scope. Britain was not just renting a few acres. It was taking control of roughly 365 square miles of Chinese territory, vastly expanding the colonial footprint of Hong Kong. The stated purpose was defensive. Britain wanted a buffer zone to protect its colony from rival European powers, particularly France and Russia, who were aggressively expanding their own footholds in southern China.
The 99-year term was not arbitrary. It was long enough to give Britain practical control but theoretically temporary, preserving the fiction that China retained underlying sovereignty. In practice, 99 years might as well have been forever. Nobody at the negotiating table expected the lease to actually expire and trigger a handback. But it did, and that single detail would shape the fate of Hong Kong a century later.
The Qing Dynasty was in no position to refuse. It had just lost the First Sino-Japanese War (1894 to 1895), was paying massive indemnities to Japan, and faced internal rebellion and foreign encroachment on multiple fronts. British diplomats essentially presented the lease as a take-it-or-leave-it proposition. The weakened Qing court accepted.
Why China Insisted on Excluding the Walled City?
Here is where the story turns from standard colonial history into a genuine geopolitical puzzle. Despite being in a position of extreme weakness, Chinese negotiators managed to insert one specific exception into the 1898 convention. The Kowloon Walled City, they insisted, would remain under Chinese jurisdiction.
This was not an accident. It was not a drafting error or an oversight that nobody noticed until later. The exception was deliberate, negotiated, and recorded in the treaty text itself. The convention explicitly stated that Chinese officials would continue to exercise jurisdiction within the Walled City, even as the surrounding New Territories passed to British control.
The reasons for this insistence reveal a great deal about Chinese strategic thinking. First, the Walled City was still an active Qing administrative and military site. The Yamen was staffed, the garrison was operational, and the granite walls marked a clearly defined perimeter. Surrendering it to British administration would have meant dismantling the last vestige of Chinese governmental authority in the Hong Kong region.
Second, the Walled City held enormous symbolic weight. After decades of humiliating territorial concessions, starting with Hong Kong Island in 1842 and continuing with Kowloon south of Boundary Street in 1860, the Qing court was desperate to draw a line somewhere. The Walled City became that line. Keeping even this tiny sliver of territory under formal Chinese jurisdiction was a matter of face, pride, and diplomatic principle.
Third, and perhaps most practically, Chinese strategists may have already been thinking about the lease expiration. The 99-year term meant that the New Territories would theoretically revert to China in 1997. Maintaining a formal foothold of sovereignty inside the leased territory ensured that China’s claim to the broader region would never fully lapse. The Walled City was an anchor, a physical reminder that British control was temporary.
This is the angle that most competitors miss. The Walled City was not just about national pride. It was a calculated diplomatic position. By keeping a toehold of sovereignty inside the leased territory, China preserved its legal and political claim to the New Territories for the entire duration of the lease. The enclave was, in essence, a century-long bookmark in China’s territorial argument.
The British Takeover of Everything Except 6.5 Acres
When British troops moved into the New Territories in April 1899, they faced armed resistance from local Chinese militias who had not been consulted about the lease and were furious at being handed over to foreign rule. The British suppressed the resistance quickly with superior firepower, and by late April, the Union Jack flew over the entire leased territory.
But there was the Walled City problem. The convention said Chinese officials retained jurisdiction inside those granite walls. So British administrators initially left the site alone, treating it as a small bubble of Chinese authority floating inside the newly expanded colony.
This arrangement was awkward from the start. The Walled City sat in the middle of territory that Britain now controlled, surrounded on all sides by British-administered land. Chinese officials inside the walls needed to pass through British territory to reach their enclave, and any communication with the Qing court in Beijing had to travel through colonial roads and ports.
The geographic absurdity of the situation was not lost on either side. Britain had leased hundreds of square miles but could not formally enter 6.5 acres of it. China had retained jurisdiction over a fort it could barely reach and could not practically supply or reinforce. The stage was set for a confrontation.
The 1899 Eviction of Chinese Officials
The standoff did not last long. In May 1899, just weeks after taking control of the New Territories, British forces entered the Walled City and expelled the remaining Chinese officials and soldiers. The British argued that Chinese resistance to the New Territories takeover had violated the spirit of the convention, and that the continued presence of a Chinese garrison was a security threat.
The Qing court protested but did nothing. It was in no position to retaliate militarily, and diplomatic protests to London went nowhere. The eviction effectively ended Chinese administrative control of the Walled City in practical terms. But here is the critical point: Britain never formally annexed the site. It never claimed sovereignty over the Walled City through treaty or legal instrument.
Instead, Britain adopted a position of strategic ambiguity. It would not govern the Walled City as part of its colony, but it would not recognize Chinese administration there either. The British treated the site as a sort of legal gray zone, present within their colonial borders but outside their normal jurisdictional framework.
This decision, perhaps more than any other single factor, created the conditions for everything that followed. By evicting Chinese officials but refusing to formally claim the territory, Britain opened a jurisdictional void that would persist for the next nine decades. China never accepted the legality of the 1899 eviction, maintaining its formal claim to sovereignty for the entire colonial period.
The Jurisdictional Vacuum: A Century of No Government
With Chinese officials gone and Britain refusing to extend normal colonial administration, the Walled City entered a long period of legal limbo. Neither sovereign wanted to fully claim responsibility for the site, and this vacuum created conditions found nowhere else in the modern world.
Neither Sovereign, Neither Administrator
After 1899, the Walled City existed in a state of de facto lawlessness that was unique even by the standards of colonial-era territorial disputes. Britain viewed the site as outside its jurisdiction and made no effort to provide municipal services, police protection, or building regulation. China claimed sovereignty on paper but had no practical ability to administer an enclave entirely surrounded and isolated within British-controlled territory.
For the first few decades, this mattered little. The Walled City was a quiet, sparsely populated site. A handful of residents remained in and around the old fort, and the Yamen building stood largely empty. The jurisdictional ambiguity was a theoretical problem, not a practical one.
That changed dramatically in the 1940s. The end of World War II and the Chinese Civil War sent waves of refugees flooding into Hong Kong, and many of them found their way to the one place where neither the British colonial government nor any other authority could legally remove them.
The 1947 Refugee Influx
Following Japan’s defeat in 1945 and the intensification of the Chinese Civil War, hundreds of thousands of refugees poured into Hong Kong seeking safety and economic opportunity. Many had nowhere to go and no resources. They needed land where they could build shelters without fear of immediate demolition by colonial authorities.
The Walled City was perfect. Because Britain treated it as outside its jurisdiction, colonial building codes, zoning regulations, and housing ordinances did not apply. Because China could not practically administer the site, there was no Chinese regulatory authority either. Squatters could build whatever they wanted, however they wanted, on a patch of land where no government would stop them.
By 1947, the population of the Walled City had swelled dramatically. Makeshift structures crowded the old fort grounds. Tents, wooden shacks, and improvised dwellings covered every available inch of the 6.5-acre site. The colonial government watched with growing alarm as an unregulated settlement mushroomed inside its borders.
British authorities attempted to demolish the squatter settlements in 1947 and early 1948, sending in teams to tear down illegal structures. This triggered a diplomatic incident that few accounts cover in detail but that fundamentally shaped the future of the enclave.
The 1948 Eviction Crisis: China Pushes Back
When British demolition teams moved into the Walled City in 1948, they encountered something they did not expect: organized resistance, openly supported by the Chinese government. Refugees and residents refused to leave. They barricaded themselves in their structures and staged public demonstrations against the evictions.
The Chinese government, now under the control of the Kuomintang (the Nationalist government still on the mainland at this point), lodged a formal diplomatic protest with London. Chinese officials argued that the evictions violated China’s reserved jurisdiction over the Walled City under the 1898 convention. They demanded that Britain halt all demolition activities within the enclave immediately.
This was a pivotal moment. China could not send troops or administrators to the Walled City, but it could use diplomatic pressure to prevent Britain from clearing the site. Faced with the prospect of a full-blown diplomatic crisis over a few acres of squatter housing, Britain backed down. The demolitions were halted, and the refugees stayed.
After the Communist victory in the Chinese Civil War in 1949, the new government in Beijing maintained the same position on the Walled City. It continued to assert Chinese sovereignty over the site and continued to oppose any British attempt to clear or administer it. The enclave had become a fixed feature of the Hong Kong landscape, protected not by military force but by diplomatic deterrence.
This is one of the most underexplored aspects of the story. The Walled City survived not because it was too small to bother with, but because every attempt to resolve its status triggered a diplomatic confrontation that neither side wanted. China used its sovereignty claim as a shield, protecting the enclave from British interference without needing to actually govern it.
How the Vacant Claim Served Chinese Diplomacy
The longer the Walled City existed in its anomalous state, the more useful it became as a diplomatic tool. Every year that passed reinforced the principle that Britain’s control over Hong Kong territory was incomplete and contested. The enclave was a living piece of evidence that China had never fully accepted the colonial arrangements imposed during the century of humiliation.
From Beijing’s perspective, maintaining the sovereignty claim cost almost nothing. The Walled City was tiny, isolated, and practically ungovernable. But the symbolic and legal value of the claim was enormous. It kept alive the argument that British presence in Hong Kong was based on leases and unequal treaties, not permanent ownership. It reminded the world that China considered these arrangements temporary and illegitimate.
As the 99-year lease on the New Territories ticked closer to its expiration, the Walled City’s diplomatic value only increased. China could point to the enclave and say: we never gave this up. We maintained our claim for a century. The same principle applies to the rest of the leased territory. This argument would prove decisive in the negotiations that determined Hong Kong’s future.
In forums like Reddit’s AskHistorians and Hong Kong communities, users frequently ask why China cared so much about such a tiny piece of land. The answer is that the size of the territory was irrelevant. What mattered was the principle of sovereignty and the diplomatic leverage that a persistent claim provided. The Walled City was a legal foothold, not a territorial prize.
Life Inside the Enclave: City of Darkness
While diplomats in London and Beijing argued over sovereignty, the people who actually lived in the Walled City built a society from scratch. What started as a refugee camp evolved into one of the most extraordinary urban environments in human history, a self-organizing settlement that operated entirely outside any formal system of government.
33,000 People in 6.5 Acres
At its peak in the late 1980s and early 1990s, the Kowloon Walled City housed approximately 33,000 residents crammed into roughly 6.5 acres, an area about the size of five American football fields. This worked out to a population density of roughly 3.3 million people per square mile, making it one of the most densely populated places that has ever existed.
The physical environment reflected this extreme density. Buildings grew upward with no oversight, no building codes, and no safety regulations. Concrete high-rises reached 10 to 14 stories, blocking nearly all natural light from reaching the narrow alleyways below. Structures were built so close together that residents on upper floors could reach out and touch the building next door.
The darkness was literal. At ground level, the labyrinth of passageways between buildings was perpetually dim, lit only by fluorescent tubes strung overhead. Residents navigated a three-dimensional maze of corridors, staircases, and rooftops that functioned as an interconnected megastructure. Water dripped from makeshift pipes overhead, and the air smelled of damp concrete, cooking oil, and industrial production.
This was the City of Darkness, or Hak Nam in Cantonese, the name that came to define the settlement in popular imagination. Photographers Greg Girard and Ian Lambot documented this world extensively in their book City of Darkness, which remains the definitive visual record of the Walled City at its peak.
Self-Governance and the Informal Economy
Without any government to provide services, residents developed their own systems. The Walled City ran on improvised infrastructure that would be unimaginable in any formally governed city. Electricity was tapped illegally from surrounding British power lines, with webs of improvised wiring snaking between buildings. Water came from communal wells, supplemented by a network of pipes that residents built and maintained themselves.
Waste disposal was rudimentary. Many buildings lacked proper plumbing, and residents relied on shared facilities or simply dumped waste into the narrow alleys. The absence of building codes meant that structural collapses, fires, and sanitation problems were constant threats. Yet the settlement endured and, in many ways, thrived.
The informal economy was vast. Inside the Walled City, you could find factories producing fish balls, noodles, and other food products. There were metal workshops, textile operations, and small manufacturing businesses that operated without licenses, inspections, or taxes. The absence of regulation made the Walled City an attractive location for businesses that could not or did not want to operate within the formal Hong Kong economy.
Residents organized their own dispute resolution systems. The Kai Fong Association, a neighborhood mutual aid group, served as a quasi-government, mediating conflicts and organizing basic services. Charitable organizations, including local branches of the Kuomintang and later various community groups, provided some social services. It was not anarchy in the purest sense. It was self-governance born of necessity.
What surprises many people who study the Walled City is that former residents often remember it fondly. In interviews collected after the demolition, many described a tight-knit community where neighbors looked out for each other, rent was cheap, and you could own your own home without a mortgage. The lawlessness that horrified outside observers was, for residents, simply the absence of government interference.
Triads, Dentists, and Mahjong Parlors
The other side of Walled City life was undeniably grim. With no police presence, organized crime flourished. Triad syndicates operated openly inside the enclave, running gambling dens, drug trafficking operations, and protection rackets. Mahjong parlors and divans, informal gathering spaces where opium was sometimes smoked, lined the ground-floor alleys.
The Walled City also became known for its unlicensed medical practitioners. Dentists and doctors trained in mainland China but without Hong Kong licensing set up practices inside the enclave, offering affordable care to residents who could not afford the formal healthcare system. These unlicensed doctors and dentists became one of the Walled City’s most distinctive features, and their signs were a common sight in the narrow corridors.
Prostitution, drug use, and gambling were widespread and largely unchecked. The triads controlled much of this activity, and their influence extended into the legitimate businesses operating within the walls. Residents learned to coexist with the criminal element, not because they approved of it, but because there was no authority to remove it.
The contrast between the community’s self-organization and its criminal underbelly is what makes the Walled City so difficult to categorize. It was neither a utopian experiment in self-governance nor a simple urban hell. It was both simultaneously, depending on where you stood and what you were looking for. For residents who kept their heads down and focused on their families and businesses, it was home. For those who fell into addiction or crime, it was a trap with no exit.
What is clear is that none of this would have existed without the original diplomatic anomaly. Every building, every business, every social structure in the Walled City was a direct consequence of the fact that no government claimed practical jurisdiction over the site. The enclave was an accident of treaty law that became a laboratory for ungoverned urban life.
The Resolution: Joint Declaration and Demolition
The enclave could not last forever. As the 99-year lease on the New Territories approached its expiration, the status of the Walled City became entangled in the much larger question of Hong Kong’s future. The resolution came through diplomacy, not force, and it closed a chapter that had been open since 1898.
The 1984 Sino-British Joint Declaration
In December 1984, after years of negotiation, Britain and China signed the Sino-British Joint Declaration, agreeing that the entire territory of Hong Kong, including Hong Kong Island, Kowloon, the New Territories, and yes, the Wall City, would be returned to Chinese sovereignty on July 1, 1997. The declaration established the one country, two systems framework, under which Hong Kong would retain its capitalist economy and legal system for 50 years after the handover.
The Joint Declaration effectively made the Walled City’s anomalous status moot. Once all of Hong Kong was returning to China, there was no longer any point in maintaining a separate sovereignty claim over 6.5 acres. China would get the Walled City back along with everything else. The diplomatic reason for the enclave’s existence had evaporated.
Both governments recognized that the Walled City, with its extreme density, criminal element, and complete lack of regulation, could not simply be handed over as-is. It needed to be addressed before the handover to avoid complications during the transition. The decision was made to demolish the settlement and redevelop the site.
Britain could have kept Hong Kong Island and southern Kowloon, which were ceded in perpetuity, and returned only the leased New Territories. But by the 1980s, the New Territories had become integral to Hong Kong’s economy and infrastructure. Returning only the leased land while keeping the ceded portions would have left the colony economically unviable. Britain’s negotiating position was weak, and Prime Minister Margaret Thatcher ultimately accepted that returning all of Hong Kong was the only realistic option.
Demolition and the 2.76 Billion Compensation
The demolition of the Kowloon Walled City began in March 1993 and was completed in April 1994. Before the bulldozers moved in, the Hong Kong government offered a compensation package of approximately 2.76 billion Hong Kong dollars to residents and business owners. Individual flat owners received roughly 380,000 Hong Kong dollars per unit, though many residents felt this was inadequate given the displacement involved.
Not everyone left willingly. An anti-demolition committee organized protests and sit-ins, and some residents resisted eviction until the very end. Photographers and researchers rushed to document the settlement before it disappeared, producing the visual record that keeps the Walled City’s memory alive today.
The demolition was thorough. Nearly every structure was leveled. Only a few elements of the original Qing dynasty fort survived, including fragments of the South Gate, some granite plaques bearing the names of the original gates, and the Yamen building itself, the old administrative headquarters that had stood since the early 19th century.
Kowloon Walled City Park Today
The site reopened in December 1995 as the Kowloon Walled City Park, a beautifully designed traditional Chinese garden in the Jiangnan garden style. The park features pavilions, lotus ponds, rockeries, and walking paths that bear no resemblance to the dense settlement that preceded them. The surviving Yamen building was preserved and restored, serving as a tangible link to the site’s imperial past.
Granite plaques from the original South Gate, inscribed with characters reading South Gate and Kowloon Walled City, are displayed as declared monuments. These stones are among the few physical remnants of the Qing dynasty fort, and they carry enormous significance. They are proof that the site was once a formal Chinese military and administrative installation, and they validate the sovereignty claim that defined its anomalous existence.
Today, visitors to the park would never know that this tranquil garden was once the most densely populated place on Earth. The contrast between the peaceful park and the chaotic settlement it replaced is itself a kind of historical statement. China finally regained full control of the site, not as a lawless enclave but as a symbol of restored sovereignty.
FAQs
Was Kowloon Walled City part of China?
On paper, yes. China maintained a formal sovereignty claim over the Kowloon Walled City for the entire colonial period, arguing that the 1898 convention explicitly excluded the site from the New Territories lease. In practice, neither China nor Britain effectively governed the enclave after British forces evicted Chinese officials in 1899. This created a jurisdictional vacuum that persisted until the 1984 Sino-British Joint Declaration resolved the status of all Hong Kong territory.
Why did the British give up Hong Kong to China?
Britain gave up Hong Kong because the 99-year lease on the New Territories was set to expire in 1997, and the New Territories had become essential to Hong Kong’s economy and infrastructure. Keeping only the permanently ceded portions, Hong Kong Island and southern Kowloon, would have left the colony unviable. Prime Minister Margaret Thatcher recognized that China would not accept a partial return and negotiated the 1984 Sino-British Joint Declaration to transfer all of Hong Kong under the one country, two systems framework.
Why didn’t the UK just keep Hong Kong?
Legally, Britain could have kept Hong Kong Island and southern Kowloon, which were ceded in perpetuity under the Treaty of Nanjing (1842) and the Convention of Peking (1860). But by the 1980s, the New Territories accounted for the majority of Hong Kong’s land area, population, and infrastructure. Returning only the leased territory while retaining the permanently ceded portions would have made the remaining colony economically and logistically unsustainable. China also made clear it would not accept any arrangement that left British sovereignty over any part of Hong Kong after 1997.
Could the British have kept Hong Kong Island?
In strict legal terms, Hong Kong Island was ceded to Britain in perpetuity under the 1842 Treaty of Nanjing, so Britain had a legal argument for retaining it. However, Hong Kong Island alone, without the New Territories water supply, food supply, and land area, was not viable as an independent colony. China also made it clear during negotiations that it considered all the treaties extracting Hong Kong territory to be unequal and invalid, meaning it would have challenged any attempt by Britain to retain the island after 1997.
Who owned Hong Kong before the British?
Hong Kong was part of the Chinese empire, specifically under the administration of the Qing Dynasty, before the British arrived. The territory consisted of fishing villages, farming communities, and a few military installations, including the Kowloon Walled City fort. There was no separate Hong Kong political entity. The land that became British Hong Kong was simply the southern coastal fringe of Guangdong Province in the Chinese imperial administrative system.
Was Hong Kong a British enclave?
No, Hong Kong was not a British enclave. Hong Kong was a British colony and later a British dependent territory. An enclave is a territory entirely surrounded by the territory of another state. The Kowloon Walled City, which was Chinese sovereign territory surrounded by British-controlled territory, was the actual enclave. Hong Kong itself was a colony with internationally recognized borders, not an enclave within China.
Conclusion
The question of why China kept one tiny enclave inside British Hong Kong has an answer that goes far beyond a simple story about a fort or a slum. China maintained its claim on the Kowloon Walled City because that claim served as a diplomatic anchor, a legal foothold that preserved the principle of Chinese sovereignty over territory that Britain had taken through what China viewed as unequal treaties imposed during a century of humiliation.
The enclave existed because of a specific clause in the 1898 Second Convention of Peking that excluded the Walled City from the New Territories lease. It survived because every attempt to resolve its status, from the 1899 British eviction of Chinese officials to the 1948 demolition crisis, triggered diplomatic friction that neither government wanted to escalate. And it finally disappeared because the 1984 Sino-British Joint Declaration made its anomalous status irrelevant by returning all of Hong Kong to Chinese control.
The Walled City left behind a legacy that extends far beyond its 6.5 acres. It was a living laboratory of self-governance, a case study in ungoverned urban development, and a persistent reminder that colonial boundaries drawn in the 19th century could produce consequences that nobody anticipated. The park that stands on the site today is beautiful, but the story of what was there before, and why it was allowed to exist for so long, is what makes this corner of Hong Kong genuinely unforgettable.
If you want to explore this topic further, the definitive visual record is City of Darkness by Greg Girard and Ian Lambot, which documents the Walled City in its final years through extraordinary photography and resident interviews. The surviving Yamen building and granite gate plaques at Kowloon Walled City Park are also worth a visit for anyone traveling to Hong Kong who wants to see the last physical traces of one of history’s strangest territorial anomalies.