This forced Lenin to agree to inter-party talks and, thanks to Bolshevik agitators who persuaded some of Kerensky's troops to defect, and a contingent of workers and soldiers who repulsed the rest on the outskirts of the city, the Bolshevik Revolution was saved.