Republic of Formosa
The Republic of Formosa survived for only five months. The Japanese landed near Keelung on the northern coast of Taiwan on 29 May 1895, and in a five-month campaign swept southwards to Tainan. During the night of 4 June, on the news that the Japanese had captured Keelung, President T'ang and General Chiu fled to Tamsui, and from there sailed for the mainland on the evening of 6 June. The Japanese entered Taipei shortly afterwards.
Emilio Aguinaldo
The First Philippine Republic was formally established with the proclamation of the Malolos Constitution on January 21, 1899 in Malolos, Bulacan and endured until capture of Emilio Aguinaldo by the American forces on March 23, 1901 in Palanan, Isabela, which effectively dissolved the First Republic.
On August 12, 1898, American forces captured Manila during the Battle of Manila and on August 14, 1898 established the United States Military Government of the Philippine Islands, with Major General Wesley Merritt as the first American Military Governor. On the night of February 4, 1899, a Filipino was shot by an American sentry. This incident was considered to be the beginning of the Philippine–American War, and culminated in the 1899 Battle of Manila between American and Filipino forces. Superior American technology drove Filipino troops away from the city, and Aguinaldo's government had to move from one place to another as the military situation escalated. At the battle of Marilao river, the president himself lead his forces to prevent American crossings. The Americans gained superiority in the battle only after severe fighting and the use of gunboats in the river that "made great execution" of Filipino soldiers. The American official account had admitted that Aguinaldo acted with a great sense of military strategy, averting disastrous routs while succeeding to sustain heavy damage on the enemy (that is, the Americans). On November 13, 1899, Emilio Aguinaldo disbanded the regular Filipino army and decreed that guerrilla war would henceforth be the strategy. Aguinaldo led the resistance against the Americans but retreated to Northern Luzon.