In 1885, work commenced to create an independent Taiwan Province, and Taipei City was temporarily made the provincial capital.
As settlement for losing the First Sino-Japanese War, China ceded the island of Taiwan to the Empire of Japan in 1895 as part of the Treaty of Shimonoseki.