Complex sentence: Somalia equipped both groups with Soviet arms the guerrilla movement along (Later on) with the Somali army, both also received aid and training from various Arab and socialist states, including Cuba.
Split into simpler sentences: Somalia equipped both groups with Soviet arms, and later with the Somali army. Both groups also received aid and training from various Arab and socialist states, including Cuba.