In 1918, after the October Revolution, the Bolsheviks signed a separate peace with the Central Powers in the Treaty of Brest-Litovsk.