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.
Republic of Formosa
Knowing that a Japanese landing was imminent, the republican leaders did what little they could in the short time given to them to prepare the island's defenses against invasion. Taiwan in May 1895 was not short of soldiers. Tang Jingsong, in order to hearten the people, exaggerated their numbers considerably, claiming that he had under his command 150,000 soldiers, regulars and volunteers. Judicious observers believed that this figure should be halved. In all, they calculated, there were 75,000 soldiers scattered throughout the island, of whom 50,000 were in the northern half and 25,000 in the southern half. These troops included the regular soldiers of the Qing garrison, local volunteers, and Hakka militia units hastily raised on the orders of Ch'iu Feng-chia.