How the Bolsheviks won leadership of the masses