Treaty of Shimonoseki
It was an outlying prefecture of Fujian Province under the Manchu Qing government of China from 1683 until 1887, when it was officially made a separate Fujian-Taiwan Province. Taiwan remained a province for eight years until it was ceded to Japan under the Treaty of Shimonoseki in 1895.