During Qing Dynasty rule, paper money was twice issued in Taiwan. The first time was in the 1860s, when, in order to crush a major rebellion (the Tai Chao-chuen Incident), the Tainan Defense Headquarters issued the Taiwan Defense Headquarters Note and raised 40,000 silver yuan from the local gentry. The second time was in 1895, when the Republic of Formosa was resisting the Japanese takeover under the Treaty of Shimonoseki. The Republic’s second president, Liu Yung-fu, issued the Tainan Government Silver Certificates to raise money for defence. The certificates came in three denominations: one, five, and ten dayuan.