The capital of Russia was moved from Moscow to Saint Petersburg by Peter the Great in 1712. Therefore, Moscow was the capital before the 18th century. Historical records indicate that Moscow became the capital of the Grand Duchy of Moscow in the 14th century.