From March until November of 1917, Russia was ruled by a Provisional Government, which did not satisfy the necessities of the peasants (more food, land and peace).
He led the Red army to victory in the Russian Civil War, before establishing the world's first officially socialist state.
By 1922, Lenin was the ruler of a united Russia, which was renamed the Union of Soviet Socialist Republics.