The Albazin campaigns and the Treaty of Nerchinsk were the armed collision and boundary settlement between the Qing and the Russian Empire in the Amur basin. From the Shunzhi years the Cossack leaders — Khabarov among them — had pushed deep into the Amur and squatted at Albazin; once the Revolt of the Three Feudatories was put down, the Kangxi Emperor resolved to settle it: in 1685 Peng Chun besieged Albazin and the Russians surrendered, reoccupied it, and in 1686 came the second siege, the garrison wasting past half to sickness until the tsar sued for talks. In 1689 the Qing grand secretary Songgotu met the Russian envoy Golovin at Nerchinsk and signed the treaty — Latin, Manchu and Russian texts, the Latin authoritative: the border to run along the Stanovoy (Outer Khingan) range and the Gorbitsa and Argun rivers — south of the range the Amur and Ussuri basins to China, north of it and west of the Argun to Russia, Albazin demolished. It was the first boundary treaty between China and a European state, and a negotiation broadly of equals; Russian-Chinese peace and trade then held for nearly a hundred and seventy years. Kangxi was thirty-five; Peter I newly ruling in his own name — the first formal delimitation between the two empires, an early specimen of the modern East Asian international order.