on scientific socialism and Islamic tenets. The SRSP was an attempt to reconcile the official state ideology with the official state religion by adapting Marxist precepts to local circumstances. Emphasis was placed on the Muslim principles of social progress, equality and justice, which the government argued formed the core of scientific socialism and its own accent on self-sufficiency, public participation and popular control, as well as direct ownership of the means of production. While the SRSP encouraged private investment on a limited scale, the administration's overall direction was essentially communist. In July 1977, the Ogaden War broke out after Barre's government used a plea for national unity to justify an aggressive incorporation of the predominantly Somali-inhabited Ogaden region of Ethiopia into a Pan-Somali Greater Somalia, along with the rich agricultural lands of south-eastern Ethiopia, infrastructure, and strategically important areas as far north as Djibouti. In the first week of the conflict, Somali armed forces took southern and central Ogaden and for most of the war, the Somali army scored continuous victories on the Ethiopian army and followed them as far as Sidamo. By September 1977, Somalia controlled 90% of the Ogaden and captured strategic cities such as Jijiga and put heavy pressure on Dire Dawa, threatening the train route from the latter city to Djibouti. After the siege of Harar, a massive unprecedented Soviet intervention consisting of 20,000 Cuban forces and several thousand Soviet experts came to the aid of Ethiopia's communist Derg regime. By 1978, the Somali troops were ultimately pushed out of the Ogaden. This shift in support by the Soviet Union motivated the Barre government to seek allies elsewhere. It eventually settled on the Soviets' Cold War arch-rival, the United States, which had been courting the Somali government for some time. All in all, Somalia's initial friendship with the Soviet Union and later partnership with the United States enabled it to build the largest army in Africa. A new constitution was promulgated in 1979 under which elections for a People's Assembly were held. However, Barre's Somali Revolutionary Socialist Party politburo continued to rule. In October 1980, the SRSP was disbanded, and the Supreme Revolutionary Council was re-established in its place. By that time, Barre's government had become increasingly unpopular. Many Somalis had become disillusioned with life under military dictatorship. The regime was weakened further in the 1980s as the Cold War drew to a close and Somalia's