Japan quickly made the transition from a medieval to a modern power. An imperial army was established with conscription, and parliamentary government was formed in 1889. The Japanese began to take steps to extend their empire. After a brief war with China in 1894?1895, Japan acquired Formosa (Taiwan), the Pescadores Islands, and part of southern Manchuria. China also recognized the independence of Korea (Chosen), which Japan later annexed (1910).
In 1904?1905, Japan defeated Russia in the Russo-Japanese War, gaining the territory of southern Sakhalin (Karafuto) and Russia's port and rail rights in Manchuria. In World War I, Japan seized Germany's Pacific islands and leased areas in China. The Treaty of Versailles then awarded Japan a mandate over the islands.