
Aside from such institutions, however, the walled city became a mere curiosity for British colonials and tourists to visit it was labelled as "Chinese Town" in a 1915 map. The Protestant church established an old people's home in the old "yamen" (Chinese administrative office) as well as a school and an almshouse in other former offices. Though the British claimed ownership of the walled city, they did little with it over the following few decades. The Qing dynasty ended its rule in 1912, leaving the walled city to the British. On 14 April 1899, British forces attacked the walled city, only to find the viceroy's soldiers gone, leaving behind only the mandarin and 150 residents. The following year, the governor, Sir Henry Blake, suspected that the viceroy of Canton was using troops to aid resistance to the new arrangements. China was allowed to continue to keep officials there as long as they did not interfere with the defence of British Hong Kong. The Convention for the Extension of Hong Kong Territory of 1898 handed additional parts of Hong Kong (the New Territories) to Britain for 99 years, but excluded the walled city, which at the time had a population of roughly 700. The present walled city's "Dapeng Association House" forms the remnants of what was previously Lai Enjue's garrison.ġ915 map of the Hong Kong region with the Kowloon Walled City listed as "Chinese Town" at the upper right-hand corner The walled city was captured by rebels during the Taiping Rebellion in 1854, before being retaken a few weeks later.

The improvements, including the formidable defensive wall, were completed in 1847.

As a result, the Qing authorities felt it necessary to improve the fort to rule the area and check further British influence. In 1842, during Qing Emperor Daoguang's reign, Hong Kong Island was ceded to Britain by the Treaty of Nanjing. A small coastal fort was established around 1810 after Chinese forces abandoned Tung Lung Fort.

Little took place for hundreds of years afterward, although 30 guards were stationed there in 1668. The history of the walled city can be traced back to the Song dynasty (960–1279), when an outpost was set up to manage the trade of salt. Lung Tsun Stone Bridge and Lung Tsun Pavilion (Pavilion for Greeting Officials) of Kowloon Walled City in 1898 Some historical artefacts from the walled city, including its yamen building and remnants of its southern gate, have been preserved there. Kowloon Walled City Park opened in December 1995 and occupies the area of the former walled city. After an arduous eviction process, and the transfer of de jure sovereignty of the enclave from China to Britain, demolition began in March 1993 and was completed in April 1994. In January 1987, the Hong Kong government announced plans to demolish the walled city.

From the 1950s to the 1970s, it was controlled by local triads and had high rates of prostitution, gambling, and drug abuse. By 1990, the walled city contained 50,000 residents within its 2.6-hectare (6.4-acre) borders. Its population increased dramatically following the Japanese occupation of Hong Kong during World War II. Originally a Chinese military fort, the walled city became an enclave after the New Territories were leased to the United Kingdom by China in 1898. Kowloon Walled City was an ungoverned and densely populated de jure Chinese enclave within the boundaries of Kowloon City, British Hong Kong.
