In January 1905, Alexander Adrianov became Moscow’s first mayor. After the Russian Revolution of 1917, on 12 March 1918 Moscow became the capital of the Soviet Union. During World War II (known in Russia as the Great Patriotic War), after the German invasion of the USSR, the Soviet State Defense Group and commanders of the Red Army were placed in Moscow.