kornilov and other army leaders were fed up with the chaos, therefore they wanted to restore order by crushing PG, PS and the bolsheviks. Kerensky knew that his army was no match to kornilovs, so he turned to the soviets for help , and even released Trotsky who was arrested in July days. bolsheviks organised themselves into units called Red Guards, and were given weapons by Kerensky to defend Petrograd. when kornilovs army approached, his soldiers deserted as they didnt want to fight the soviets. kornilova attempted coup had failed.