During the Great Northern War (1700–1721) the territory of what is now Leningrad Oblast was returned from Sweden by Russia under Peter the Great, who founded Saint Petersburg amidst the land in 1703, which soon became the capital of the Russian Empire. In 1708, most of the territory was organized into Ingermanland Governorate under Governor General Alexander Menshikov. It was renamed Saint Petersburg Governorate in 1710 (the borders of that governorate, however, differed very significantly from those of the present-day oblast and included much of the areas of current Novgorod, Pskov, and Vologda Oblasts). In 1721, the territorial concessions of Sweden were confirmed with the Treaty of Nystad.