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.
Republic of Formosa
Premises were found for the republican parliament and the republican ministries in the yamens of the former Qing administration in Taipei. Tang Jingsong, the president of the republic, remained in the palatial Government House he had previously occupied as the Qing governor-general of Formosa. T'ang's cabinet included the heads of the four great ministries of state (war, the navy, home affairs and foreign affairs), who ran their ministries from the large yamens that had previously been the premises of the provincial treasury. The yamens previously used as the headquarters of the Defence Board became Parliament House. The navy department was housed in the old military secretariat.