Trivia Question

Which city was the capital of Russia until 1918?