Original sentence: Although the walled city was described as a hotbed of criminal activities, the daily lives of its dwellers were largely organized by the residents themselves, rather than by the Triad.It was torn down in 1993.The enclave remained part of Chinese territory despite the turbulent events of the early 20th century that saw the fall of the Qing government, establishment of a Republic of China in 1911 and later, the People's Republic of China in 1949.The history of the Walled City (known as Kowloon then) can be traced back to the Song Dynasty (960–1279), where it served as a watchpost defending the area against pirates and managing the production of salt.Under Emperor Daoguang's reign, it was rebuilt as a fort in the mid-1800s on the same site on the Kowloon Peninsula of Hong Kong
Edited sentence: Although the walled city was described as a hotbed of criminal activities, the daily lives of its dwellers were largely organized by the residents themselves, rather than by the Triads.In the mid-1800s, during Qing Emperor Daoguang's reign, it was rebuilt as a fort on the same site on the Kowloon Peninsula.It is part of the Kowloon City District of Kowloon, Hong Kong.Originally a military fort, it became a very dense urban settlement, until it was torn down in 1993.The Kowloon Walled City Park, where some historical buildings have been preserved, now occupies the area of the former walled city.The area where is was located is now known as Kowloon City.The enclave remained part of Chinese territory despite the turbulent events of the early 20th century that saw the fall of the Qing government, the establishment of the Republic of China in 1911 and later, the People's Republic of China in 1949.The history of the Walled City (known as Kowloon then) can be traced back to the Song Dynasty (960–1279), when it served as a watchpost defending the area against pirates and managing the production of salt