Garayev was the Bolshevik leader who facilitated arrival of the Red Army in Azerbaijan and overthrow of the government of
Azerbaijan Democratic Republic. He was one of the people along with Bolshevik activist
Chingiz Ildyrym, who passed on the ultimatum to the
Azerbaijani Parliament to surrender and transfer all authority to Bolshevik forces. While lobbying for arrival of Bolshevik troops in Baku, Garayev convinced the ADR government that with establishment of Soviet regime in Azerbaijan, the Red Army will crash the Armenian rebels in
Karabakh region of Azerbaijan.
Bolshevik power in
Azerbaijan SSR has managed to keep the Nagorno Karabakh and Nakchivan in the territory of Azerbaijan. Only
Zangezur was transferred to Armenian SSR. According to a known rumour, after establishment of the Soviet republic in Azerbaijan, Garayev lobbied for arrest and execution of one of founders of Azerbaijan Democratic Republic and Chairman of
Azerbaijani National Council,
Mammed Amin Rasulzade but was cut off in the meeting with Stalin who declared that Rasulzade had saved his life twice and that he would go free. In response to Garayev's earlier chant in front of the members of Azerbaijani parliament that he would get everyone executed, Rasulzade had responded that the very Bolshevik government which Garayev defended would execute him in the future. ==Activities in Soviet Azerbaijan==