Following the Russian Revolution of 1917, the town and Abkhazia in general were engulfed in the chaos of the Russian Civil War. A short-lived Bolshevik government was suppressed in May 1918 and Sukhumi was incorporated into the Democratic Republic of Georgia as a residence of the autonomous People's Council of Abkhazia and the headquarters of the Georgian governor-general. The Red Army and the local revolutionaries took the city from the Georgian forces on 4 March 1921, and declared Soviet rule. Sukhumi functioned as the capital of the "Union treaty" Abkhaz Soviet Socialist Republic associated with the Georgian SSR from 1921 until 1931, when it became the capital of the Abkhazian Autonomous Soviet Socialist Republic within the Georgian SSR. By 1989, Sukhumi had 120,000 inhabitants and was one of the most prosperous cities of Georgia. Many holiday dachas for Soviet leaders were situated there.