Bale revolt, a peasant revolt stemming from issues involving land, taxation, class, and religion, raged in the province for several years until a number of developments took the energy out of the militants, as well as the decision of Somali Prime Minister Muhammad Haji Ibrahim Egal to focus his country's resources on economic development. Rebels began to surrender to the Ethiopian government at the end of 1969; Waqo Gutu, who had been the foremost of the insurgents, was surrounded with his command of barely 200 men in Arana by the Ethiopian army in February 1970 and surrendered. Pacification was complete by the next year. Djibouti gained its independence in 1977, but a referendum was held in 1958 on the eve of Somalia's independence in 1960 to decide whether or not to join the Somali Republic or to remain with France. The referendum turned out in favor of a continued association with France, largely due to a combined "yes" vote by the sizable Afar ethnic group and resident Europeans. However, the majority of those who voted "no" were Somalis who were strongly in favor of joining a united Somalia as had been proposed by Mahmoud Harbi. Harbi was killed in a plane crash two years later, and Hassan Gouled Aptidon, a Somali who campaigned for a yes vote in the referendum of 1958, wound up as Djibouti's first president post-independence (1977–1991). Between 1977 and 1978, Somalia and Ethiopia waged a war over control of the predominantly Somali Ogaden region. In 1978 and with the help of Soviet and Cuban troops, Ethiopian troops drove back the Somali army from the Ogaden, effectively marking the end of the Ogaden War. In 1981, Siad Barre visited Nairobi, and asserted that Somalia was suspending its claim on the North Eastern Province (NFD). Improved relations with Kenya led to the signing of a pact in December 1984 agreeing to cease hostilities along the border. Following renewed hostilities in the Ogaden with an August 1982 border clash, Ethiopia and Somalia signed a peace treaty in 1988. Somali Civil War With the start of the Somali Civil War, the vision of uniting the various historically and predominantly Somali-inhabited areas of the Horn of Africa into a Greater Somalia was temporarily sidelined. Thousands of refugees have been granted political asylum in Kenya. Talk of pan-Somali unification movements for the moment took a backseat, as the Republic splintered into a