Republic of Formosa
The Republic of Formosa (), was a short-lived republic that existed on the island of Taiwan in 1895 between the formal cession of Taiwan by the Qing Dynasty of China to the Empire of Japan by the Treaty of Shimonoseki and it being taken over by Japanese troops. The Republic was proclaimed on 23 May 1895 and extinguished on 21 October, when the Republican capital Tainan was taken over by the Japanese. Though sometimes claimed as the first Asian republic to have been proclaimed, it was predated by the Lanfang Republic in Borneo, established in 1777, as well as by the Republic of Ezo in Japan, established in 1869.
Republic of Formosa
Following T'ang's flight, Liu Yung-fu assumed the mantle of leadership of the Republic in Tainan. He refused to serve as president, however, and stressed instead his role as commander-in-chief of the resistance against the Japanese. The capture of Tainan now became both a political and a military imperative for the Japanese. During the next three months, although their advance was slowed by guerilla activity, the Japanese defeated the Formosan forces whenever they attempted to make a stand. The Japanese victory at Baguashan on 27 August, the largest battle ever fought on Taiwanese soil, doomed the Formosan resistance to an early defeat. The fall of Tainan on 21 October ended organised resistance to Japanese occupation, and inaugurated five decades of Japanese rule in Taiwan.