Republic of Formosa
Several Qing officials in Taiwan resolved to resist the cession of Taiwan to Japan under the Treaty of Shimonoseki, and on 23 May declared the island to be an independent Republic of Formosa. On 29 May, Japanese forces under Admiral Motonori Kabayama landed in northern Taiwan, and in a five-month campaign defeated the Republican forces and occupied the island's main towns. The campaign effectively ended on 21 October 1895, with the flight of Liu Yongfu, the second Republican president, and the surrender of the Republican capital Tainan.