 The treaty resulted in some minor territorial changes along the border.The border between the Soviet Union and China had long been an issue of contention.The Sino-Soviet border was a legacy of various treaties between the Qing Dynasty and the Russian Empire, the Treaty of Aigun and the Treaty of Beijing, in which Russia gained over 1 million km² (400,000 mi²) of territory in Manchuria at China's expense, and another 500,000 km² in the western regions from several other treaties.