In 1811, Vasily Golovnin, a Russian explorer tasked by Tsar Alexander I with mapping the Kuril Islands, was captured by the Japanese. When Golovnin and his crew aboard the ship Diana approached Kunashir Island, they were taken ashore and imprisoned for violating Sakoku, or Japanese isolationist policies. Golovnin and his crew were held prisoner for two years and were released in 1813. This event, known as the Golovnin Incident, demonstrated that the border between Russia and Japan was too vague for the Russian Empire, and that to avoid another episode such as Golovnin's, the border needed to be clearly defined.
The Treaty of Shimoda of 1855 had defined the border between Japan and Russia to be the strait between Iturup and Urup islands in the Kurile chain, but had left the status of Sakhalin open. Without well-defined borders, incidents between Russian and Japanese settlers began to occur. In order to remedy this situation, the Japanese government sent an ambassador, Enomoto Takeaki, to Saint Petersburg to clearly define the border in this area. After a year of negotiations, Japan agreed to renounce its claims to Sakhalin, with compensation for Japanese residents, access by the fishing fleet to the Sea of Okhotsk, ten-years free use of Russian ports in the area and ownership of all of the Kuril Islands.The Japanese Ministry of Foreign Affairs still cites this treaty as a reason to define the northern borders.
The Treaty of Portsmouth ended the Russo-Japanese War on September 5, 1905. Its terms stipulated that Russia cede the southern half of Sakhalin to Japan at fifty degrees North latitude. This treaty changed the border between Russian and Japanese territories as had been previously decided by the 1875 Treaty of Saint Petersburg.
Treaty of San Francisco
The San Francisco Peace Treaty, signed on September 8, 1951, effectively ended the war between the Allies of World War II and Japan. This treaty was signed by 48 allied countries, excluding the Soviet Union. Article 2 Section C of the treaty stated that "Japan renounces all right, title and claim to the Kurile Islands, and to that portion of Sakhalin and the islands adjacent to it over which Japan acquired sovereignty as a consequence of the Treaty of Portsmouth of September 5, 1905." This did not, however, give the Kuril Islands to the Soviet Union. The Soviet Union refused to sign the Treaty of San Francisco for these reasons, with Foreign Minister Andrei Gromyko stating the Soviet claim to the Kuril islands and Sakhalin as being "indisputable."
Since the Soviet Union did not sign the Treaty of San Francisco, the war between Japan and the Soviet Union was not officially ended until the Soviet–Japanese Joint Declaration of 1956. This declaration did not end the dispute over Sakhalin and the Kuril Islands, as it set precedence for a peace treaty to be created in the future that would solve the issue of the Kuril Islands. The declaration stated that the Soviet Union would cede Shikotan Island and the Habomai Islands after the peace treaty would be signed. This peace treaty the joint declaration promised was never actualized.