Hsinchu Campaign
The Japanese had hoped that their occupation of Taipei on 8 June 1895 would end the fighting in Taiwan. It did not. The Republic of Formosa tottered on for another five months of existence, as its presidency was assumed by Liu Yung-fu on 26 June in Tainan. Liu's assumption of the presidency stiffened the will of ordinary Formosans to resist the invaders. The result was a perceptible growth in guerrilla activity against the Japanese, and as the month of June wore on it became clear that all the island's main towns would have to be occupied forcibly before opposition to the Japanese invasion collapsed. From now on, the capture of Tainan became a political as well as a strategic imperative for the Japanese. During the next four months the Japanese would direct their efforts towards occupying Tainan and snuffing out the nascent Formosan Republic.
Taiwanese Resistance to the Japanese Invasion (1895)
He had a strong relationship with Tang Jingsong, staying to fight the Japanese in Taiwan following the Treaty of Shimonoseki. Liu Yongfu was given the title of command of the resistance forces in the south of Taiwan, and made a general. When Tang Jingsong fled Taiwan, Liu Yongfu became the 2nd and final leader of the Republic of Formosa. When it became apparent that Taiwan was lost, on 20 October 1895 Liu fled Taiwan aboard a British merchant ship called the "SS Thales." However this ship was being pursued by a Japanese ship, the . The "Yaeyama" caught up to the "Thales" in international waters near Amoy, but were unable to identify and take a disguised Liu Yongfu into custody. The actions of the Japanese government spurred a diplomatic protests from Britain, and the Japanese government issued an official apology for following and stopping the British ship. On October 21, Tainan was surrendered to the Japanese, signalling the end of any major resistance to the Japanese occupation.