Question: why was kowloon walled city built?
Answer: The history of the Kowloon Walled City dates from the Sung Dynasty of 960-1297, when it began as a small fort to house the imperial soldiers who controlled the salt trade. In the second half of the 19th century, the Chinese were facing invasion by the British, who held Hong Kong Island.