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.
Black Flag Army
Remarkably, Liu Yongfu revived the Black Flag Army again in 1895 in response to the Japanese invasion of Taiwan (1895). Liu Yongfu crossed to Taiwan at the appeal of his old friend Tang Jingsong, the island's former governor-general and now president of the short-lived Republic of Formosa. Liu was to command the Formosan resistance forces against the Japanese. Liu took a number of aging Black Flag veterans back into service to join the fight against the Japanese, but the reconstituted Black Flag Army was swept aside with ease by the Japanese Imperial Guards Division. Liu himself was obliged to disguise himself as an old woman to escape capture.