Punt and the trade coast
Somalia occupies the Horn of Africa, with the longest coastline on the African mainland, facing the Gulf of Aden and the Indian Ocean. Ancient Egyptian fleets sailed to a land of incense, myrrh and gold called Punt, which many historians place on the Horn. At Laas Geel, near Hargeisa, herders painted cattle on cave walls about five thousand years ago. For centuries Somali ports traded frankincense, livestock and ivory with Arabia, Persia and India.
Islam and the sultanates
Islam reached the Somali coast very early, through traders crossing the Gulf of Aden, and Somalis became almost entirely Muslim. Coastal cities such as Mogadishu, Merca, Brava and Zeila grew rich; when Ibn Battuta visited Mogadishu in 1331 he described a prosperous city. The Ajuran Sultanate controlled the south’s coast and water wells, trading as far as China, and ships of Zheng He’s fleet called in the 1410s. In the north-west, the Adal Sultanate fought the Christian Ethiopian kingdom.
Partition and resistance
In the late nineteenth century the Somali lands were divided: Britain took the north, Italy the south, France the area around Djibouti, while Ethiopia took the Ogaden and Britain gave Kenya the Northern Frontier District. From 1899 to 1920 Mohammed Abdullah Hassan led the Dervish state in a long resistance until British air raids crushed it. On 1 July 1960 British Somaliland and Italian Somalia united as the independent Somali Republic.
Barre and collapse
In 1969 General Mohamed Siad Barre seized power. His dream of a Greater Somalia led to a disastrous invasion of Ethiopia’s Ogaden in 1977. His rule became brutal, and in 1988 his forces bombed Hargeisa in the north. In January 1991 he was overthrown and the state collapsed. The north declared independence as Somaliland. Famine and clan war killed hundreds of thousands, and UN missions came to protect food aid. Pakistan sent one of the largest contingents. On 5 June 1993, 24 Pakistani peacekeepers were killed in an ambush in Mogadishu, and in October 1993 Pakistani and Malaysian forces helped rescue US troops trapped in the city. The UN left in 1995.
Rebuilding
In 2006 the Islamic Courts Union briefly brought order to Mogadishu before Ethiopian forces drove it out, and the armed group al-Shabaab grew from its militia, carrying out deadly attacks. African Union troops have helped the government fight back. A federal government was formed in 2012, and Hassan Sheikh Mohamud returned to the presidency in 2022. Somalia joined the East African Community in 2024. Pakistan recognises Somalia’s unity and territorial integrity, and the two countries are fellow members of the OIC.
For our latest reporting on Somalia, see the news listed on this page.
