Input (grade 10): The city ceased to be Russiaâ s capital in 1712, after the founding of Saint Petersburg by Peter the Great near the Baltic coast in 1703.
Output (grade 11): The city stopped being Russiaâ s capital in 1712, after the building of Saint Petersburg by Peter the Great near the Baltic coast in 1703.