Extract the year when Hong Kong was established

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.