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)
The inclusion of Taiwan in the final treaty led pro-Qing officials to declare the Republic of Formosa in 1895. It would never gain international recognition.
After hearing of the cession of Taiwan to Japan, pro-Qing officials led by Qiu Fengjia declared the Republic of Formosa. Tang Jingsong, the Qing governor-general of Taiwan, became the republic's first President. Liu Yongfu, the retired Black Flag Army commander and national hero, began to serve as Grand General of the Army.