 Russia inherited most of the former Sino-Soviet border, and ratified the agreement in February 1992, while the other post-Soviet republics negotiated separate border agreements.The agreement largely finalized the 4,200 km (2,600 mi) border between the Soviet Union and China, except for a few disputed areas.The agreement states the intentions of both parties in resolving and demarcating the disputed border peacefully, identifies the various points of contention, and identifies the border as running through the center of the main channel of any river, based on the thalweg principle.