The conversation between human and AI assistant.
[|Human|] Extract the year when Hong Kong was established
[|AI|] Hong Kong was established in 1841 as a colony of the British Empire after the Qing Empire ceded Hong Kong Island from Xin'an County at the end of the First Opium War.
[|Human|] 
Extract the year when Hong Kong was established