 Complete the following phrase:  In 1895, under the Treaty of Shimonoseki which ended the First Sino-Japanese War, Taiwan was ceded by China to Japan. The Taiwanese attempted to resist the Japanese occupation, and a short-lived Democratic Republic of Formosa was declared by the Chinese governor Tang Jingsong on 25 May 1895. Tang became president of the new republic, and Liu Yongfu was made a brigadier general and given command of resistance forces in southern Taiwan. Ten days after declaring independence Tang Jingsong fled to Mainland China, and Liu replaced him as head of government though he did not, as is often claimed, succeed to the presidency. At the end of May 1895 Japanese forces landed near Keelung, on the northern coast of Taiwan, and proceeded to 