After The First Opium War Hong Kong was ceded to the British
under the 1842 Treaty of Nanking.
Because of its deep harbor, free trade status and British protection,
it became a more important port than Canton.
In the 1850s many Chinese fled to Hong Kong to escape the Taiping Rebellion.