In April 1920 Russia's Red Army invaded Azerbaijan and Armenia, ending the independence of both, followed in February–March 1921 by Georgia. Fighting continued however in Zangezur, where Armenian forces declared a Republic of Mountainous Armenia and continued to fight against the Bolsheviks until their defeat in July 1921. The Soviet Kavbiuro was tasked with drawing borders between the three former republics in the Caucasus. Armenian control of Zangezur was confirmed in late 1920. In March 1921 Nakhchivan, despite having earlier being promised to Armenia, was allotted to Azerbaijan, partly at the insistence of the new Republic of Turkey via the Treaty of Moscow. On 3 June 1921 the Kavbiuro decided that Nagorno-Karabakh would be included within Armenia, however disputes between the Armenian and Azerbaijani delegates over the issues continued. On 4 July a final Kavbiuro meeting took place to settle the issue, which confirmed the earlier decision to include Nagorno-Karabakh within Armenia. However the next day this decision was reversed and it was granted to Azerbaijan on the proviso that is was grantted autonomous oblast status. The precise reasons for the sudden volte-face remain unclear: some scholars think that Joseph Stalin influenced the decision, whereas others (such as Arsène Saparov) point to the fact that the final meeting coincided with Soviet victory in Zangezur and the defeat of the Republic of Mountainous Armenia, after which the Azerbaijanis were able to press their claims more forcefully and the Soviets had little incentive to appease the Armenian side. In 1922 all three states were incorporated into the Transcaucasian SFSR within the USSR, before being separated in 1936. From 1923 to 1929 the strip of land in Azerbaijan between Nagorno-Karabakh and Armenia was designated as the Kurdistansky Uyezd, known colloquially as Red Kurdistan, later renamed the Kurdistan okrug, and then dissolved in 1930.