In October 1917, the Bolsheviks, led by Lenin and Trotsky, headed the Petrograd Soviet and other Soviets all over Russia in a revolution against Kerensky's government, which was known as the October Revolution. They won, and announced that Russia was a socialist country. In November, Lenin was chosen as its leader.