Somalia

Federal Republic of Somalia
Jamhuuriyadda Federaalka Soomaaliya (Somali)
جمهورية الصومال الفيدرالية (Arabic)
Jumhūriyah aṣ-Ṣūmāl al-Fīdirāliyah
Anthem: Qolobaa Calankeed
علم أي امة
"Every Nation Has Its Own Flag"

  Territory controlled
Capital
and largest city
Mogadishu
2°2′N 45°21′E / 2.033°N 45.350°E / 2.033; 45.350
Official languages
Ethnic groups
(2021)
Religion
Sunni Islam (official)
Demonym(s)Somali
GovernmentFederal parliamentary republic
 President
Hassan Sheikh Mohamud
Hamza Abdi Barre
LegislatureFederal Parliament
Senate
House of the People
Establishment
2350 BC
 Macrobia
980 BC
 Barbaria
100 BC
9th century
10th century
13th century
13th century
16th century
1695–1911
1648–1927
1878–1927
1749–1884
1884
1889
 Independence and union with the State of Somaliland
1 July 1960
1 August 2012
Area
 Total
637,657 km2 (246,201 sq mi) (43rd)
Population
 2023 estimate
18,143,378 (78th)
 Density
27.2/km2 (70.4/sq mi) (199th)
GDP (PPP)2024 estimate
 Total
$34.03 billion (145th)
 Per capita
$2,060 (181st)
GDP (nominal)2023 estimate
 Total
$12.8 billion (142nd)
 Per capita
$775 (179th)
Gini (2017)36.8
medium inequality
HDI (2023) 0.404
low (192nd)
CurrencySomali shilling (SOS)
Time zoneUTC+3 (EAT)
Calling code+252
ISO 3166 codeSO
Internet TLD.so

Somalia, officially the Federal Republic of Somalia, is the easternmost country in continental Africa. The country is located in the Horn of Africa and borders Ethiopia to the west, Djibouti to the northwest, Kenya to the southwest, the Gulf of Aden to the north, and the Indian Ocean to the east. Somalia has the longest coastline on Africa's mainland. Somalia has an estimated population of 18.1 million, of which 2.7 million live in the capital and largest city, Mogadishu. Around 85% of Somalia's residents are ethnic Somalis. The official languages of the country are Somali and Arabic, though Somali is the primary language. Somalia has historic and religious ties to the Arab world. The people in Somalia are mainly Muslims, following the Sunni branch.

In antiquity, Somalia was an important commercial center. During the Middle Ages, several powerful Somali empires dominated the regional trade, including the Ajuran Sultanate, Adal Sultanate, and the Sultanate of the Geledi. In the late 19th century, the Somali sultanates were colonized by the Italian and British empires, who merged all of these tribal territories into two colonies: Italian Somaliland and British Somaliland. In 1960, the two territories united to form the independent Somali Republic under a civilian government. Siad Barre of the Supreme Revolutionary Council (SRC) seized power in 1969 and established the Somali Democratic Republic, brutally attempting to squash the Somaliland War of Independence in the north of the country. The SRC collapsed in 1991 with the onset of the Somali Civil War. The Transitional National Government of Somalia (TNG) was established in 2000, followed by the formation of the Transitional Federal Government of Somalia (TFG) in 2004, which reestablished the Somali Armed Forces.

At the end of 2006, a US-backed Ethiopian invasion overthrew the Islamic Courts Union (ICU), leading to the installation of the TFG in Mogadishu under an Ethiopian military occupation. The subsequent insurgency which emerged saw the ICU fragment into various rebel factions, including the militant group al-Shabaab, which waged a protracted conflict against Ethiopian forces. Al-Shabaab soon began asserting territorial control for the first time, and by late 2008 the insurgency had driven the Ethiopian army out of much of Somalia. In 2009, a new TFG government was established. By mid-2012, al-Shabaab lost most of its territories during fighting against the TFG and African Union troops. That same year, al-Shabaab pledged allegiance to al-Qaeda. The insurgents still control much of central and southern Somalia, and wield influence in government-controlled areas, with the town of Jilib acting as the de facto capital for the insurgents.

A new provisional constitution was passed in August 2012, reforming Somalia as a federation. The same month, the Federal Government of Somalia was formed and a period of reconstruction began in Mogadishu. Somalia is among the least developed countries in the world, as evidenced by its ranking in metrics such as GDP per capita and its position near the bottom of the Human Development Index, above only South Sudan. It has maintained an informal economy mainly based on livestock, remittances from Somalis working abroad, and telecommunications. It is a member of the United Nations, the Arab League, African Union, Non-Aligned Movement, East African Community, and the Organisation of Islamic Cooperation.