After Red Army invasion of Azerbaijan began repressions of the Bolsheviks against the Azerbaijani military officers. The participation of Azerbaijani military officers in the Ganja revolt accelerated this process. The second wave began during Great Purge.