ended the constitution.
The revolutionary army established large-scale public works programs and successfully implemented an urban and rural literacy campaign, which helped dramatically increase the literacy rate. In addition to a nationalization program of industry and land, the new regime's foreign policy placed an emphasis on Somalia's traditional and religious links with the Arab world, eventually joining the Arab League (AL) in 1974. That same year, Barre also served as chairman of the Organization of African Unity (OAU), the predecessor of the African Union (AU).
In July 1976, Barre's SRC disbanded itself and established in its place the Somali Revolutionary Socialist Party (SRSP), a one-party government based 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 sought to incorporate the predominantly Somali-inhabited Ogaden region into a Pan-Somali Greater Somalia. 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