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.
Taiwan under Japanese rule
The Consulate-General of the Republic of China in Taihoku (modern-day Taipei) was a diplomatic mission of the government of the Republic of China (ROC) that opened April 6, 1931, and closed in 1945 after the handover of Taiwan to the ROC. Even after Formosa had been ceded to Japan by the Qing dynasty, it still attracted many Chinese immigrants after the concession. On May 17, 1930, the Chinese Ministry of Foreign Affairs appointed Lin Shao-nan to be the Consul-General and Yuan Chia-ta as Deputy Consuls-General.