The Treaty of Nystad, or the Treaty of Uusikaupunki, was the last peace treaty of the Great Northern War of 1700–1721. It was concluded between the Tsardom of Russia and the Swedish Empire on 10 September [O.S. 30 August] 1721 in the then Swedish town of Nystad (Uusikaupunki, in the south-west of present-day Finland). Sweden had settled with the other parties in Stockholm (1719 and 1720) and in Frederiksborg (1720).
During the war Peter I of Russia had occupied all Swedish possessions on the eastern Baltic coast: Swedish Ingria (where he began to build the soon-to-be Russian capital of St. Petersburg in 1703), Swedish Estonia and Swedish Livonia (which had capitulated in 1710), and Finland.