One of the 15 questions in this topic
The Bolshevik government moved the capital to Moscow in 1918 for security and centrality.