Taiwan under Japanese rule is the period between 1895 and 1945 in which the island of Taiwan (including the Penghu Islands) was a dependency of the Empire of Japan, after Qing China lost the First Sino-Japanese War to Japan and ceded Taiwan Province in the Treaty of Shimonoseki. The short-lived Republic of Formosa resistance movement ended to no avail when it was suppressed by the Japanese troops.