Under the leadership of General Abdullah Mohamed Fadil, Abdullahi Ahmed Irro and other senior Somali military officials formulated a plan of attack for what was to become the Ogaden War in Ethiopia. This was part of a broader effort to unite all of the Somali-inhabited territories in the Horn region into a Greater Somalia ("Soomaaliweyn"). At the start of the offensive, the SNA consisted of 35,000 soldiers, and was vastly outnumbered by the Ethiopian forces. Somali national army troops seized the Godey Front on 24 July 1977, after Division 60 defeated the Ethiopian 4th Infantry Division. Godey's capture allowed the Somali side to consolidate its hold on the Ogaden, concentrate its forces, and advance further to other regions of Ethiopia. The invasion reached an abrupt end with the Soviet Union's sudden shift of support to Ethiopia, followed by almost the entire communist world siding with the latter. The Soviets halted supplies to Barre's regime and instead increased the distribution of aid, weapons, and training to Ethiopia's newly communist Derg regime. General Vasily Petrov was assigned to restructure the Ethiopian Army. The Soviets also brought in around 15,000 Cuban troops to assist the Ethiopian military. By 1978, the Somali forces were pushed out of most of the Ogaden, although it would take nearly three more years for the Ethiopian Army to gain full control of Godey.