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.
First Philippine Republic
The First Philippine Republic was established after the Philippine Revolution against Spanish Empire (1896-1897) and the Spanish–American War between Spain and the United States (1898). Following the American victory at the Battle of Manila Bay, Aguinaldo returned to the Philippines, issued the Philippine Declaration of Independence on June 12, 1898, and established a revolutionary Philippine government. In December 1898, Spain sold the Philippines to the United States in the 1898 Treaty of Paris, making the United States formally the Philippines colonial power. The Malolos Constitution establishing the First Philippine Republic was proclaimed the following month. The Philippine–American War began in February 1899, which the Philippine Republic lost.