Saint Petersburg was started by the Russian Tsar, Peter I as the capital of the Russian Empire in 1703, to take the place of the earlier capital, Moscow. It was the capital of Russia until 1918. Peter the Great established Saint Petersburg as a warm-weather port in order to show Russian dominance in the Baltic and to increase trading opportunities. Peter sought to modernize Russia, therefore he tried to make Saint Petersburg as different as possible from the former capital, Moscow, by modernizing the city.