Scanian War
The border as agreed on in the treaty was slightly shifted westwards after the Scanian War in the Treaty of Saint-Germain-en-Laye (1679), and shifted far west to the Peene and Peenestrom rivers after the Great Northern War in the Treaty of Stockholm (1720).