Treaty of Nanking
Following the First Opium War (18391842) and Second Opium War (18561860), Hong Kong (Treaty of Nanking) and Kowloon (Convention of Peking) were ceded by the Qing dynasty government of China to the United Kingdom; and following defeat in the First Sino-Japanese War, Taiwan was ceded to the Empire of Japan in 1895.