After the signing of the
Treaty of Shimonoseki and the establishment of the
Republic of Formosa, Chiu Feng-yang, a Hakka leader from Pingtung, called upon his supporters to form the so-called Liutui Hakka militias . The militias were organized into six units, according to the villages where they were recruited, hence the name
Liutui (). The militias first engaged the Japanese at
Chiatung, and were defeated due to their poor training and weaponry. By the time the militia regrouped further to the south, the
Republic of Formosa had collapsed in the wake of President
Liu Yongfu's flight to mainland China on 20 October 1895 and the capitulation of Tainan to the Japanese on 21 October. Seeing no hope of matching the Japanese in a fight in the open around Tainan, Chiu ordered a retreat to Changhsing village,
Pingtung, where he planned to make a
last stand. Chiu's forces fought alone against the Japanese. The Hakkas of the southern plains had long been at feud with the Pepohoans (the
Taiwanese aborigines who had originally owned the land on which Chinese immigrants had settled), and the Pepohoans stood aloof from the struggle. Indeed, they actively favoured the Japanese. == The battle ==