The USSR, finding itself supplying both sides of a war, attempted to mediate a ceasefire. When their efforts failed, the Soviets abandoned Somalia. All aid to Siad Barre's regime was halted, while arms shipments to Ethiopia were increased. Soviet military aid (second in magnitude only to the October 1973 gigantic resupplying of Syrian forces during the Yom Kippur War) and advisors flooded into the country along with around 15,000 Cuban combat troops. Other communist countries offered assistance: the People's Democratic Republic of Yemen offered military assistance and North Korea helped train a "People's Militia"; East Germany likewise offered training, engineering and support troops. (As the scale of communist assistance became clear in November 1977, Somalia broke diplomatic relations with the USSR and expelled all Soviet citizens from the country.)