In 1917, Kazan became one of the revolution centers. In 1918, Kazan was the capital of the Idel-Ural State, which was suppressed by the Bolshevist government. In the Kazan Operation of August 1918, it was briefly occupied by Czechoslovak Legions. In 1920, Kazan became the center of Tatar Autonomous Soviet Socialist Republic.