The Kuril Islands are an archipelago stretching from the Japanese island of Hokkaido to the Russian Kamchatka Peninsula. The Kurils and the nearby island of Sakhalin have changed hands several times since the 1855 Treaty of Shimoda first defined the boundary between the Russian Empire and the Empire of Japan; under this treaty, the border in the Kurils was demarcated as the line between Etorofu and Urup. The rest of the Kuril Islands came under Japanese rule after the 1875 Treaty of Saint Petersburg and the end of the Russo-Japanese War in 1905. They would remain under the Japanese until the end of World War II, when the Soviet Union annexed the islands as the result of a military operation which took place during and after the Surrender of Japan. This territory fell to Russia upon the Dissolution of the Soviet Union.