
In 1868 supporters of the teenage Emperor Meiji (emperor of modernisation) declared imperial rule restored. After a short civil war, the Boshin War, the emperor moved to Edo, which was renamed Tokyo, “eastern capital”.

The new leaders, mostly young samurai from Satsuma and Chōshū, dismantled the old order with astonishing speed. Domains became prefectures in 1871, samurai lost their privileges, and a conscript army replaced the warrior class. The last great samurai revolt, led by Saigō Takamori (Restoration hero turned rebel) in 1877, was crushed.
Japan studied the West systematically. The Iwakura Mission toured the United States and Europe for nearly two years (1871–73). Japan built its first railway, Tokyo to Yokohama, in 1872, adopted the Western calendar, introduced schooling for all children, and in 1889 adopted a constitution modelled partly on Prussia’s. The slogan was fukoku kyōhei: “rich country, strong army”.

The army was put to use. Japan defeated China in 1894–95 and took Taiwan, then stunned the world by defeating Russia in 1904–05, the first victory of an Asian nation over a European great power in a modern war. Korea was annexed in 1910.