Country

Somalia

Before 1000 AD the Horn of Africa was inhabited by Cushitic peoples, the ancestors of the Somalis: herders and seafarers who traded incense with Egypt, Rome, Arabia and India. The port towns of the northern and eastern coasts adopted Islam in the 7th–10th centuries.

Open on the map

Antiquity

  1. c. 10,000 years ago

    The hunters of Buur Heybe

    The granite hill of Buur Heybe rises above the plains of the country's south, near Baidoa. In its rock shelters archaeologists found layers many metres deep containing stone tools, antelope bones and the remains of hearths. Late Stone Age hunter-gatherers lived here for thousands of years, and later, about 4,000 years ago, the first herders also arrived.

    Buur Heybeon the map →

  2. c. 4th–3rd millennium BC

    The paintings of Laas Geel

    The rock shelters of Laas Geel near Hargeisa, discovered by French archaeologists in 2002, hold some of the most vivid rock paintings in Africa. Ancient herders painted in red, white and yellow cows with broad decorated dewlaps, and beside them people with raised arms, dogs and giraffes. The paintings are several thousand years old.

    Laas Geel shows what a place cattle held in the life and beliefs of the ancient inhabitants of the Horn.

    Laas Geelon the map →

  3. 2nd millennium BC

    The land of Punt

    The Egyptians sent expeditions to "the land of Punt" for myrrh and frankincense, ebony, gold, leopard skins and baboons; the most famous voyage was sent around 1470 BC by Queen Hatshepsut. Many scholars have looked for Punt on the northern coast of Somalia, where frankincense and myrrh trees still grow, although others place it on the shores of Eritrea and Sudan.

    Northern coast (Berbera)on the map →

  4. 1st millennium BC

    Frankincense and camels

    Boswellia frankincense trees grow in the Cal Madow mountains in the north of the country, and myrrh on the arid plains. The resin was tapped and collected and then carried to the sea. Around the 1st millennium BC camels spread across the steppes of the Horn, allowing nomads to range far into the deserts. The herders spoke Cushitic languages, one of which gave rise to Somali.

    Cal Madow mountainson the map →

  5. 1st century AD

    The trading harbours of the Periplus

    The Greek Periplus of the Erythraean Sea describes "Barbaria", the Gulf of Aden coast with the markets of Malao (near present-day Berbera), Mundus, Mosylon and the "Spice Market" at Cape Guardafui, and beyond it Opone. Ships came here from Roman Egypt, Arabia and India, exporting frankincense, myrrh, cinnamon, tortoiseshell and slaves and importing cloth, iron, wine and grain. Excavations at Cape Hafun have confirmed the existence of Opone.

    The Somali coast was a link in the trade between the Mediterranean and India.

    Opone (Cape Hafun)on the map →

  6. 7th–8th centuries

    Islam in Zeila

    Islam came early to the northern ports, which were linked to Arabia by sea trade. Tradition names the Masjid al-Qiblatayn mosque in Zeila as one of the oldest in Africa: its mihrab, it is said, faced both Jerusalem and Mecca. Zeila became the gateway through which Muslim merchants reached the nomads and the Ethiopian Highlands.

    Zeilaon the map →

  7. 9th–10th centuries

    The towns of Benadir

    On the Benadir coast of the Indian Ocean, trading settlements grew up where local people lived alongside settlers from Arabia and the Persian Gulf. In the early 10th century the Arab traveller al-Mas'udi described the "land of the Berbers" on the eastern coast of Africa. Harbours arose on the sites of present-day Mogadishu, Merca and Barawa, visited by ships from Oman and Siraf seeking ivory, hides and ambergris.

    Mogadishuon the map →

Middle Ages (1000–1499)

Between 1000 and 1500 Somali nomadic clans spread across the Horn of Africa and adopted Islam, while the trading towns of Zeila, Mogadishu, Merca and Barawa flourished on the coast. In the north the sultanates of Ifat and Adal arose, and in the south the Ajuran Sultanate.

  1. 10th–11th centuries

    The Somalis and Islam

    By the beginning of the second millennium most of the Horn of Africa was inhabited by Somalis, nomads who bred camels, goats and sheep. They were divided into clans tracing their descent from common ancestors. Islam came to them from Arabia through the ports of the northern coast and gradually became their common faith. In the south, in the valleys of the Jubba and Shabelle rivers, lived farmers.

    Interior of Somaliaon the map →

  2. 11th–12th centuries

    The ports of Zeila and Berbera

    The ports of Zeila and Berbera traded on the shore of the Gulf of Aden. Arab geographers described Zeila as a town of Muslim merchants from which slaves, ivory, frankincense, myrrh and hides were exported to Yemen, Egypt and India. The monsoons linked Somalia with Arabia and Persia: in winter the wind carried ships to Africa, in summer back again.

    Zeilaon the map →

  3. 1269

    The mosques of Mogadishu

    Mogadishu on the southern coast, founded according to tradition by settlers from Arabia and Persia together with local Somalis, had become a wealthy city by the 13th century. The minaret of the Friday Mosque is dated by an inscription to 1238, and the mosque of Fakhr ad-Din to 1269. The city was ruled by sultans who from the 13th–14th centuries minted their own copper coins.

    Mogadishuon the map →

  4. c. 1285

    Zeila under Ifat

    Around 1285 the Walashma dynasty created the Sultanate of Ifat in the eastern Ethiopian Highlands. The port of Zeila became its main gateway to the sea, through which all the caravan trade with the interior passed. The Somali clans of the north were drawn into Ifat's wars with Christian Ethiopia, which began in the 14th century.

    Zeilaon the map →

  5. 13th–14th centuries

    The Ajuran Sultanate

    Between the Shabelle and Jubba rivers the Ajuran Sultanate rose to power. Its rulers of the Garen lineage controlled the wells and irrigation canals that watered the sorghum fields and levied tribute on the herders. They built stone wells and forts and protected the trade routes to the Benadir ports of Mogadishu, Merca and Barawa. Ajuran was one of the few hydraulic states in Africa.

    Shabelle valleyon the map →

  6. 1331

    Ibn Battuta in Mogadishu

    In 1331 the Moroccan traveller Ibn Battuta visited Zeila and then Mogadishu. He described an enormous city ruled by Sultan Abu Bakr ibn Umar, who spoke Somali and Arabic. Local weavers made cloth that was exported to Egypt. The merchants from every ship were met by host-brokers who provided them with lodging.

    Ibn Battuta's account is the most vivid description of medieval Mogadishu.

    Mogadishuon the map →

  7. c. 1410

    The death of Sa'ad ad-Din

    In the early 15th century Ethiopian forces crushed the Sultanate of Ifat. Sultan Sa'ad ad-Din II retreated to the coast and was killed near Zeila; an islet off the town is still called Sa'ad ad-Din Island. The Ethiopians occupied Zeila for a time. The sultan's sons fled to Yemen, to the Rasulid ruler.

    Zeilaon the map →

  8. c. 1415

    The Sultanate of Adal

    On their return from Yemen, the sons of Sa'ad ad-Din founded the Sultanate of Adal with its capital at Dakkar. It covered the northwest of present-day Somalia, including Zeila, and the adjoining lands. Somalis, Afar and Harari mingled in Adal. The sultanate continued the war with Ethiopia and a century later became the base of Imam Ahmad Gragn's great jihad.

    Zeilaon the map →

  9. 1417–1419

    Zheng He's Chinese fleet

    During its fifth voyage the Chinese fleet of Admiral Zheng He visited the coast of Somalia, calling at Mogadishu and Barawa. Embassies from these cities travelled to China with gifts of lions, leopards, zebras and ostriches, and brought back silk and porcelain. Chinese chronicles described Mogadishu as a city of multi-storey stone houses in an arid land.

    Barawaon the map →

  10. 15th century

    The clans move south

    Over many centuries Somali clans moved from north to south in search of pasture, pushing aside or absorbing the earlier inhabitants, farmers and other Cushitic herders. By the 15th century the Hawiye and other clans had firmly settled the Shabelle valley and the area around Mogadishu. Thus took shape the distribution of the Somalis that survives to this day.

    Central Somaliaon the map →

From 1500 to the present

Somalia occupies the Horn of Africa, the easternmost projection of the continent, where for centuries nomadic herders and the trading towns of the Indian Ocean coexisted. The colonial partition divided the Somalis between Britain, Italy, France and Ethiopia; the dream of a "Greater Somalia" after independence in 1960 led to wars, and the collapse of the state in 1991 to decades of civil war from which the country is still emerging.

  1. c. 1500

    Ajuran and the towns of Benadir

    Around 1500 the south of present-day Somalia was dominated by the Ajuran Sultanate, which controlled the wells and irrigated lands of the Shabelle valley. On the Benadir coast the trading towns of Mogadishu, Merca and Barawa flourished: livestock, frankincense, ivory and cloth were exported from here to Arabia, Persia and India, and Mogadishu minted its own coins. In the north, around Zeila, the Muslim Sultanate of Adal ruled.

    Mogadishuon the map →

  2. 1499–1507

    The Portuguese off the Benadir coast

    Returning from India in early 1499, Vasco da Gama bombarded Mogadishu with cannon. In 1507 the fleet of Tristão da Cunha and Afonso de Albuquerque stormed and sacked Barawa, which had refused to pay tribute. The Portuguese never conquered Mogadishu, but their dominance at sea undermined the trade of the Somali towns with India.

    Barawaon the map →

  3. 1529–1543

    Somalis in the army of Adal

    Imam Ahmad ibn Ibrahim al-Ghazi (Gragn) of Adal roused the Muslims of the Horn to jihad against Christian Ethiopia. The chronicler Shihab ad-Din Arab Faqih names many Somali clans in his army: the Harti, Marehan, Gerri and others. After the victories of 1529 Adal's army swept across almost the entire Ethiopian Highlands, but in 1543 the imam was killed and Adal fell into decline.

    Zeilaon the map →

  4. late 17th – 19th century

    The Geledi Sultanate

    At the end of the 17th century a weakened Ajuran collapsed under the blows of rebellious clans. In the south its place was taken by the Geledi Sultanate, centred on Afgooye on the Shabelle River, which controlled the trade between the interior and Mogadishu. The farmers of the valley grew sorghum and later cotton, often with the labour of slaves brought from the Swahili coast. In the 19th century Geledi was the strongest state in the south.

    Afgooyeon the map →

  5. 19th century

    Zanzibar and the northern sultanates

    In the 19th century the Sultan of Zanzibar claimed the Benadir ports and kept a garrison in Mogadishu, although real power there remained with the local elders. In the northeast the Majeerteen and Hobyo sultanates took shape, trading in frankincense and livestock. The annual fair at Berbera drew caravans from Harar and the Ogaden and merchants from Yemen and India.

    Berberaon the map →

  6. 1884–1887

    British Somaliland

    Britain supplied its base at Aden with meat from Somalia. After the withdrawal of the Egyptian garrisons in 1884–1886, British agents concluded treaties with the Isaaq, Gadabuursi and Issa clans, and in 1887 the protectorate of British Somaliland was proclaimed with its capital at Berbera. Until 1898 it was governed from Aden as part of British India.

    Berberaon the map →

  7. 1889–1905

    Italian Somaliland

    In 1888–1889 Italy proclaimed a protectorate over the Hobyo and Majeerteen sultanates. In 1892 it leased the Benadir ports from the Sultan of Zanzibar, and in 1905 bought them outright, creating the colony of Italian Somaliland with its capital at Mogadishu. Italian banana and sugar cane plantations later appeared along the Shabelle. The Somali lands were divided between Italy, Britain, France and Ethiopia.

    The colonial partition divided a single people among five territories.

    Hobyoon the map →

  8. 1899–1920

    The Dervish State

    In 1899 the preacher Mohammed Abdullah Hassan, whom the British nicknamed the "Mad Mullah", declared jihad against the British, Italians and Ethiopians. His Dervishes waged war for twenty years, built stone forts at Taleh and withstood four British expeditions. In January 1920 Britain for the first time made aircraft the main striking force of a colonial campaign: planes bombed Taleh, and in December of that year the leader, who had fled to Ethiopian territory, died there, apparently of influenza.

    Mohammed Abdullah Hassan is revered in Somalia as a national hero and poet.

    Talehon the map →

  9. 1925–1927

    Jubaland and the fascist "pacification"

    In 1924, as a reward for Italy's part in the First World War, Britain ceded to it Jubaland, the lands west of the Jubba River with the port of Kismayo, which were handed over in June 1925. In 1925–1927 the fascist governor Cesare Maria De Vecchi forcibly subdued the previously semi-independent northern sultanates of Hobyo and Majeerteen. All of southern and eastern Somalia came under direct Italian rule.

    Kismayoon the map →

  10. December 1934

    The Walwal incident

    On 5 December 1934, at the wells of Walwal in the Ogaden, where the Italians had built a fort on Ethiopian territory, a firefight broke out between Italian Somali soldiers and Ethiopian troops. Mussolini used the incident as a pretext for war. In 1935 Marshal Graziani's army advanced from Italian Somaliland on the Ogaden and Harar, and Somali units fought on the Italian side.

    Walwalon the map →

  11. 1940–1941

    Somalia in the Second World War

    In August 1940, after fighting at Tug Argan, Italian forces captured British Somaliland, one of Italy's few conquests in its war against Britain. But as early as February 1941 British and African units from Kenya took Kismayo and Mogadishu, and in March a landing at Berbera regained the northern protectorate. Until 1950 all of Somalia except the French part was under British administration.

    Mogadishuon the map →

  12. 1943–1960

    UN trusteeship and the Youth League

    On 15 May 1943 the Somali Youth League was founded in Mogadishu, campaigning for the unity of all Somalis and for independence. In 1950 the UN placed the former Italian colony under Italian trusteeship for exactly ten years, with the obligation to prepare it for independence. During these years the first elections were held, and Somali officials and a government appeared.

    Mogadishuon the map →

  13. 26 June – 1 July 1960

    Independence and unification

    On 26 June 1960 the former British Somaliland became independent, and on 1 July the trust territory in the south. On the same day the two parts united as the Somali Republic, with Aden Abdullah Osman as president. The five-pointed star on the flag symbolised the five parts of the Somali nation, including Djibouti, the Ogaden and northeastern Kenya, which the new state sought to join to itself.

    The idea of a "Greater Somalia" determined the country's foreign policy for decades.

    Mogadishuon the map →

  14. 1969–1975

    Siad Barre's coup

    On 15 October 1969 President Abdirashid Ali Shermarke was assassinated in Las Anod, and on 21 October General Mohamed Siad Barre seized power. He proclaimed "scientific socialism" and an alliance with the USSR and nationalised the banks and the land. In 1972 a Latin-based script was introduced for the Somali language, and in 1974–1975 urban schoolchildren went out to the nomad camps to teach herders to read and write.

    Mogadishuon the map →

  15. 1977–1978

    The Ogaden War

    Taking advantage of the revolutionary chaos in Ethiopia, in July 1977 the regular Somali army, which had previously backed the rebels of the Western Somali Liberation Front, invaded the Ogaden and occupied most of the region. But the USSR switched to Ethiopia's side, and in March 1978 an Ethiopian-Cuban offensive drove the Somalis out. The defeat undermined Barre's regime, and hundreds of thousands of Ogadeni refugees poured into Somalia.

    Jijigaon the map →

  16. 1988

    The destruction of Hargeisa

    Clan-based rebel movements rose against Barre's dictatorship. In May 1988 the Somali National Movement, backed by the Isaaq clan, attacked Burao and Hargeisa. In response the government army subjected the cities to artillery and air bombardment. Tens of thousands of civilians were killed, and hundreds of thousands fled to Ethiopia.

    Hargeisaon the map →

  17. January – May 1991

    The collapse of the state

    On 26 January 1991 Siad Barre fled Mogadishu, which had been taken by the forces of the United Somali Congress. The victors immediately split: General Mohamed Farrah Aidid and Ali Mahdi Mohamed fought over the capital, destroying it. On 18 May 1991 the northern clans proclaimed the independence of Somaliland within the borders of the former British protectorate; Somaliland is de facto independent, but Somalia regards it as part of its territory; on 26 December 2025 Israel became the first UN member state to recognise it, a move condemned by Somalia, the African Union and a number of other states.

    Somalia became the textbook example of a "failed state".

    Mogadishuon the map →

  18. 1992–1995

    Famine and the Battle of Mogadishu

    War and drought caused a famine in 1992 that claimed about 300,000 lives. In December 1992 US Marines of Operation Restore Hope landed in Mogadishu, followed by a UN mission. An attempt to seize Aidid's men on 3–4 October 1993 turned into street fighting in which 18 Americans and hundreds of Somalis were killed. The United States left in 1994, and the UN in 1995.

    Mogadishuon the map →

  19. 2006–2011

    The Islamic Courts and al-Shabaab

    In June 2006 the Islamic Courts Union drove out the warlords and brought order to Mogadishu for the first time in 15 years. In December the Ethiopian army, backed by the United States, overthrew the Courts and installed the transitional government. The radical wing of the Courts, al-Shabaab, launched a guerrilla war. In August 2011 African Union peacekeepers from Uganda and Burundi drove the militants out of the capital.

    Mogadishuon the map →

  20. 2005–2012

    The pirates of Somalia

    With no state and no coast guard, fishermen in Puntland and central Somalia, who suffered from illegal foreign fishing, turned to piracy. Bases at Eyl, Hobyo and Harardhere fitted out boats that seized merchant ships far out in the Indian Ocean for ransom. The peak came in 2009–2011. International naval flotillas, armed guards on ships and measures on land had almost ended the attacks by 2012.

    Eylon the map →

  21. since 2012

    The federal republic

    In August 2012 a provisional constitution was adopted establishing the Federal Republic of Somalia, and in September parliament elected Hassan Sheikh Mohamud president. The country is divided into federal member states: Puntland, Jubaland, Galmudug and others. Al-Shabaab still carries out terrorist attacks: a truck bombing in Mogadishu on 14 October 2017 claimed more than 500 lives.

    Mogadishuon the map →

  22. 2024–2026

    The dispute over Ethiopia's access to the sea

    On 1 January 2024 Ethiopia signed a memorandum with Somaliland under which it could obtain a stretch of coast for a naval base reportedly in exchange for possible recognition (the text of the memorandum has not been published). Mogadishu called this an assault on its sovereignty, and the region found itself on the brink of crisis. In December 2024, with Turkish mediation, the two sides signed the Ankara Declaration. The same year Somalia joined the East African Community. In 2026 parliament extended the terms of President Hassan Sheikh Mohamud and of the legislators from four to five years; the opposition, including former presidents, rejected the extension, and the presidential election was set for May 2027. After Israel's recognition of Somaliland (in 2026 Israel appointed an ambassador there), Mogadishu called the move an assault on Somalia's sovereignty.

    Berberaon the map →

Rulers 103 rulers and heads of state

YearsNameTitleState
c. 1285–1330Umar WalashmaFounder, Sultan of IfatIfat Sultanate
c. 1332–1344Haqq ad-Din IISultan of IfatIfat Sultanate
c. 1386–1403Sa'ad ad-Din IISultan (centre at Zeila)Ifat Sultanate
c. 1403–1415Mansur ibn Sa'ad ad-Din and Jamal ad-Din IISultans (Ifat/Adal)Adal Sultanate
c. 1415–1422Sabr ad-Din IIISultan, founder of AdalAdal Sultanate
c. 1433–1471Muhammad ibn BadlaySultanAdal Sultanate
c. 1471–1488Shams ad-Din ibn MuhammadSultanAdal Sultanate
c. 1488–1518Muhammad ibn Azhar ad-DinSultanAdal Sultanate
c. 1518–1526Abu Bakr ibn MuhammadSultanAdal Sultanate
c. 1527–1554Umar DinSultan (nominal; Ahmad Gragn held real power)Adal Sultanate
1529–1543Ahmad ibn Ibrahim al-Ghazi (Ahmad Gragn)ImamAdal Sultanate
1551–1567Nur ibn MujahidEmirAdal Sultanate (Harar)
c. 1798–1848Yusuf Mahamud IbrahimSultanGeledi Sultanate
c. 1848–1878Ahmed YusufSultanGeledi Sultanate
c. 1860–1927Osman MahamudBoqor (King) of the MajeerteenMajeerteen Sultanate
c. 1878–1911Yusuf Ali KenadidSultanSultanate of Hobyo
1884–1888Frederick Mercer HunterPolitical Agent, then ResidentBritish Somaliland
1888–1893Edward Vincent StaceResidentBritish Somaliland
1889–1893Vincenzo FilonardiGovernorItalian Somaliland
1893–1896Charles William Henry SealyResidentBritish Somaliland
1896–1897Vincenzo FilonardiCommissionerItalian Somaliland
1896–1897William Butler FerrisResidentBritish Somaliland
1897–1902James Hayes SadlerResident, then Consul-GeneralBritish Somaliland
1898–1905Emilio DulioGovernorItalian Somaliland
1899–1920Mohammed Abdullah HassanSayyid, Dervish leaderDervish State
1902–1905Harry CordeauxActing Consul-GeneralBritish Somaliland
1905–1906Eric SwayneConsul-GeneralBritish Somaliland
1906–1907Luigi MercatelliCommissioner-GeneralItalian Somaliland
1907–1908Giuseppe Salvago RaggiCommissioner-GeneralItalian Somaliland
c. 1908–1916Tommaso CarlettiCommissioner-General, then GovernorItalian Somaliland
1909–1910Harry CordeauxCommissionerBritish Somaliland
1911–1914William Henry ManningCommissionerBritish Somaliland
1914–1919Horace Archer ByattCommissionerBritish Somaliland
1916–1919Giacomo De MartinoGovernorItalian Somaliland
1919–1920Giovanni Cerrina FeroniGovernorItalian Somaliland
1919–1925Geoffrey Francis ArcherCommissioner, then GovernorBritish Somaliland
1923–1928Carlo Ricci RiveriGovernorItalian Somaliland
1925–1926Gerald Henry SummersGovernorBritish Somaliland
c. 1926–1935Harold Baxter KittermasterGovernorBritish Somaliland
1928–1931Cesare Maria De VecchiGovernorItalian Somaliland
1931–1935Guido CorniGovernorItalian Somaliland
1935–1936Maurizio RavaGovernorItalian Somaliland
c. 1935–1940Arthur Salisbury LawranceCommissioner, then GovernorBritish Somaliland
1937–1940Ruggiero SantiniGovernor (Italian East Africa)Italian Somaliland
1940–1941Gustavo PesentiActing GovernorItalian Somaliland
1940–1941Guglielmo NasiItalian Military Governor (occupation)British Somaliland
c. 1941–1943Carlo De SimoneItalian Military Governor (occupation)British Somaliland
1941–1948William Eric Halstead ScuphamChief Administrator (British military administration)British military administration of Italian Somaliland
1943–1948Arthur Reginald ChaterMilitary GovernorBritish Somaliland
1948–1950Eric Armar Vully de CandoleChief Administrator (British military administration)British military administration of Italian Somaliland
c. 1948–1954Gerald ReeceGovernorBritish Somaliland
1950–1953Giovanni FornariAdministratorTrust Territory of Somaliland
1950–1960Italian UN TrusteeshipTrust territoryTrust Territory of Somaliland
1954–1958Enrico MartinoAdministratorTrust Territory of Somaliland
c. 1954–1959Theodore PikeGovernorBritish Somaliland
1956–1960Abdullahi IssaPrime MinisterTrust Territory of Somaliland
1958–1960Enrico AnzilottiAdministratorTrust Territory of Somaliland
c. 1959–1960Douglas HallGovernorBritish Somaliland
1960Muhammad Haji Ibrahim EgalPrime MinisterSomali Republic
1960–1964Abdirashid Ali ShermarkePrime MinisterSomali Republic
1960–1967Aden Abdullah Osman DaarPresidentSomali Republic
1964–1967Abdirizak Haji HusseinPrime MinisterSomali Republic
1967–1969Abdirashid Ali ShermarkePresidentSomali Republic
1967–1969Muhammad Haji Ibrahim EgalPrime MinisterSomali Republic
1969Mukhtar Mohamed HusseinActing PresidentSomali Republic
1969–1991Siad BarreChairman of the Supreme Revolutionary Council, PresidentSomali Democratic Republic
1987–1990Mohamed Ali SamatarPrime MinisterSomali Democratic Republic
1990–1991Mohamed Hawadle MadarPrime MinisterSomali Democratic Republic
1991–1993Abdirahman Ahmed Ali TuurPresidentSomaliland (self-declared state; recognised by Israel since 2025)
1991–1993Umar Arteh GhalibPrime Minister (de facto until 1997)Somalia (civil war)
1991–1997Ali Mahdi MuhammadInterim President (disputed)Somalia (civil war)
1993–2002Muhammad Haji Ibrahim EgalPresidentSomaliland (self-declared state; recognised by Israel since 2025)
1995–1996Mohamed Farrah AididSelf-declared PresidentSomalia (civil war)
c. 1996–2000Hussein Mohamed Farrah AididSelf-declared President (faction leader)Somalia (civil war)
2000–2001Ali Khalif GalaydhPrime MinisterTransitional National Government of Somalia
2000–2004Abdiqasim Salad HassanPresident of the Transitional National GovernmentSomalia
2001Osman Jama AliActing Prime MinisterTransitional National Government of Somalia
2001–2003Hassan Abshir FarahPrime MinisterTransitional National Government of Somalia
2002–2010Dahir Riyale KahinPresidentSomaliland (self-declared state; recognised by Israel since 2025)
2003–2004Muhammad Abdi YusufPrime MinisterTransitional National Government of Somalia
2004–2007Ali Mohammed GhediPrime MinisterTransitional Federal Government of Somalia
2004–2008Abdullahi Yusuf AhmedPresident of the Transitional Federal GovernmentSomalia
2007Salim Aliyow IbrowActing Prime MinisterTransitional Federal Government of Somalia
2007–2009Nur Hassan HusseinPrime MinisterTransitional Federal Government of Somalia
2008–2009Adan Mohamed Nuur MadobeActing PresidentSomalia
2009–2010Omar Abdirashid Ali SharmarkePrime MinisterTransitional Federal Government of Somalia
2009–2012Sharif Sheikh AhmedPresident of the Transitional Federal GovernmentSomalia
2010Abdiwahid Elmi GonjehActing Prime MinisterTransitional Federal Government of Somalia
2010–2011Mohamed Abdullahi Mohamed (Farmaajo)Prime MinisterTransitional Federal Government of Somalia
2010–2017Ahmed Mohamed Mohamoud SilanyoPresidentSomaliland (self-declared state; recognised by Israel since 2025)
2011–2012Abdiweli Mohamed Ali (Gaas)Prime MinisterTransitional Federal Government of Somalia
2012–2013Abdi Farah ShirdonPrime MinisterFederal Republic of Somalia
2012–2017Hassan Sheikh MohamudPresidentFederal Republic of Somalia
2013–2014Abdiweli Sheikh AhmedPrime MinisterFederal Republic of Somalia
2014–2017Omar Abdirashid Ali SharmarkePrime MinisterFederal Republic of Somalia
2017–2020Hassan Ali KhairePrime MinisterFederal Republic of Somalia
2017–2022Mohamed Abdullahi FarmaajoPresidentFederal Republic of Somalia
2017–2024Muse Bihi AbdiPresidentSomaliland (self-declared state; recognised by Israel since 2025)
2020Mahdi Mohammed GulaidActing Prime MinisterFederal Republic of Somalia
2020–2022Mohamed Hussein RoblePrime MinisterFederal Republic of Somalia
2022–presentHassan Sheikh MohamudPresident (in 2026 parliament extended his term to May 2027; disputed by the opposition)Federal Republic of Somalia
2022–presentHamza Abdi BarrePrime MinisterFederal Republic of Somalia
2024–presentAbdirahman Mohamed Abdullahi (Irro)PresidentSomaliland (self-declared state; recognised by Israel since 2025)