Peter the Great
While the Poles fought the Swedes, Peter founded the city of Saint Petersburg in 1703, in Ingermanland (a province of the Swedish Empire that he had captured). It was named after his patron saint Saint Peter. He forbade the building of stone edifices outside Saint Petersburg, which he intended to become Russia's capital, so that all stonemasons could participate in the construction of the new city. Between 1713 and 1728 and in 1732–1918, Saint Petersburg was the capital of imperial Russia.
Saint Petersburg
In 1725, Peter died at the age of fifty-two. His endeavours to modernize Russia had met with opposition from the Russian nobility—resulting in several attempts on his life and a treason case involving his son. In 1728, Peter II of Russia moved his seat back to Moscow. But four years later, in 1732, under Empress Anna of Russia, Saint Petersburg was again designated as the capital of the Russian Empire. It remained the seat of the Romanov dynasty and the Imperial Court of the Russian Tsars, as well as the seat of the Russian government, for another 186 years until the communist revolution of 1917.