The Russian Revolution was the result of over a century of unrest under oppressive czarist rule. In 1917, widespread discontent over World War I led to the abdication of Czar Nicholas II and the establishment of a provisional government. Lenin and the Bolsheviks then seized power in November through the Bolshevik Revolution, establishing the Soviet Union and communist rule. A long civil war ensued as the Bolsheviks consolidated power, leading to enormous loss of life and economic devastation before stability was restored under Lenin's New Economic Policy. Stalin later emerged as the new dictator following Lenin's death.