Kowloon Walled City was an extremely densely populated and largely lawless enclave of China within the boundaries of Kowloon City of former British Hong Kong.