Treaty of Nerchinsk
The Russians invaded the northern frontier again in the 1680s. A series of battles and negotiations culminated in the Treaty of Nerchinsk of 1689, by which a border was agreed between Russia and China.