In 1918, Ganja became the temporary capital of the Azerbaijan Democratic Republic, at which point it was renamed Ganja again, until Baku was recaptured from the British-backed Centrocaspian Dictatorship. In April 1920, the Red Army occupied Azerbaijan. In May 1920, Ganja was the scene of an abortive anti-Soviet rebellion, during which the city was heavily damaged by fighting between the insurgents and the Red Army. In 1935, Joseph Stalin renamed the city Kirovabad after Sergei Kirov. In 1991, Azerbaijan re-established its independence, and the ancient name of the city was given back. For many years the 104th Guards Airborne Division of the Soviet Airborne Troops was based in the town.