The island of Taiwan, along with the Penghu Islands, became an annexed territory of the Empire of Japan in 1895, when the Qing dynasty ceded Fujian-Taiwan Province in the Treaty of Shimonoseki after the Japanese victory in the First Sino-Japanese War. After Japanese forces crushed the consequent Republic of Formosa resistance movement, Japan ruled Taiwan for 50 years. Its capital was located in Taihoku (Taipei), the seat of the Governor-General of Taiwan.
Taiwan was Japan's first colony and can be viewed as the first step in implementing their "Southern Expansion Doctrine" of the late 19th century. Japan, which aimed to turn Taiwan into a showpiece "model colony", made efforts to improve the island's economy, public works, industry, cultural Japanization (1937 to 1945), and support the necessities of Japanese military aggression in the Asia-Pacific. Japan established monopolies and by 1945, had taken over all sales of opium, salt, camphor, tobacco, alcohol, matches, weights and measures, and petroleum on the island. Most Taiwanese children did not attend schools established by Japan until primary education was made mandatory in 1943.