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.
Formosa Expedition
The Formosa Expedition, or the Taiwan Expedition of 1867 was a punitive expedition launched by the United States against Formosa. The expedition was undertaken in retaliation for the Rover incident, in which the "Rover", an American bark, had been wrecked and its crew massacred by aboriginal Paiwan warriors in March 1867. A United States Navy and Marine company landed in southern Formosa and attempted to advance into the native village. The natives deployed a significant amount of guerrilla warfare, which they ambushed, skirmished, disengaged and retreated repeatedly. Eventually, the Marines ceased their pursuit when their commander was killed and retreated back to their ship due to fatigue and heat exhaustion, with the Formosans dispersing and retreating back into the jungle. The event is regarded as a failure in United States naval history, as the expedition did not decisively defeat the Formosans.