Treaty of Nystad
Russia ceded Ingria and southern Karelia to Sweden in the Treaty of Stolbova in 1617, following the Ingrian War. A century later Russia reconquered the area, providing an opportunity for Peter the Great to lay the foundations of his new capital, Saint Petersburg, in 1703. The area was then formally ceded in 1721 by the Treaty of Nystad.