The eastern tip of the Wakhan Corridor starts the Sino-Pak border between the People's Republic of China and Pakistan spanning about 559 km (347.3 mi). It carries on south-eastward and ends near the Karakoram Pass. This line was determined from 1961 to 1965 in a series of agreements between China and Pakistan and finally on 3 March 1963 both the governments, of Islamabad and Beijing, formally agreed.