In the aftermath of the "July Days," conservatives sought to reassert order in society. The army's commander in chief, General Lavr Kornilov, who protested the influence of the soviets on both the army and the government, appeared as a counterrevolutionary threat to Kerensky, now prime minister. Kerensky dismissed Kornilov from his command, but Kornilov, disobeying the order, launched an extemporaneous revolt on September 10 (August 28). To defend the capital, Kerensky sought help from all quarters and relaxed his ban on Bolshevik activities. Railroad workers sympathetic to the Bolsheviks halted Kornilov's troop trains, and Kornilov soon surrendered, ending the only serious challenge to the Provisional Government from the right.