Using the pretext of a local Bolshevik uprising in Azerbaijan, Ordzhonikidze ordered the Eleventh Army to invade on 27 April 1920; with most of the Azerbaijani army fighting Armenia in Nagorno-Karabakh, Baku was occupied by the Bolsheviks by 23:00 that night. The ease with which Azerbaijan was occupied emboldened Ordzhonikidze, and he began making preparations to launch similar invasions of Armenia and Georgia and supported a failed coup attempt in Georgia on 2–3 May. It was not until 27 November that he was given approval from both Lenin and Stalin to prepare the Eleventh Army to invade Armenia, which he did the next day. Already weakened from earlier regional conflicts, Armenia was unable to put up any resistance and surrendered on 2 December.