In the 1970s, Somalia invaded Ethiopia in support of a local guerrilla movement, igniting the Ogaden War, which Somalia lost due to timely military intervention from the Soviet Union and its ally Cuba.