After the Russo-Japanese War of 1905 Japan took the protectorate over the Korean Empire (the Eulsa Treaty), with Ito Hirobumi as resident-general; in 1907 Gojong was forced off the throne and the army disbanded, with the righteous armies rising across the eight provinces. In 1909 An Jung-geun shot Ito dead at Harbin, and Japan resolved on annexation. On 22 August 1910 the Japan–Korea Annexation Treaty was signed — eight short clauses in all: the royal house given empty titles of nobility, Sunjong made to yield the throne, administration wholly to the Governor-General, the land taken into the empire of Meiji Japan. Military police rule, the land survey and the company ordinances followed in train; the righteous-army remnants turned to guerrilla warfare in the mountains, and the exiles abroad opened the independence movement — the Shanghai Provisional Government of 1919 grew from it, and colonial rule lasted until 1945. The treaty answers the Treaty of Ganghwa at the other end: in forty years the peninsula passed from autonomy to vassalage to annexation, the epitome of the East Asian order's upheaval — a nation's line cut by an eight-clause document, the fate of the small and friendless in that age at its starkest.