Foreign relations of the Soviet Union
After the Russian Revolution, in which the Bolsheviks took over parts of the collapsing Russian Empire in 1918, they faced enormous odds against the German Empire and eventually negotiated terms to pull out of World War I. They then went to war against the White movement, pro-independence movements, rebellious peasants, former supporters, anarchists and foreign interventionists in the bitter civil war. They set up the Soviet Union in 1922, with Vladimir Lenin in charge.
Source: Wikipedia — Foreign relations of the Soviet Union (CC BY-SA 4.0)