What czar in the late 1600's and established the capital of st petersburg?

Saint Petersburg, Russia (also known as Leningrad during the Soviet era) was established by Peter the Great in 1703. He wanted a capitol that could rival the other major cities of Europe as well as be a "warm-water" port for shipping activities.