Treaty of Nanking
Following the First Opium War (1839–1842), Hong Kong Island was ceded to Britain in 1842 under the Treaty of Nanking and the territory became a Crown colony. At the time, the island was populated by only a few thousand people, and was thus described as being almost uninhabited.