A breakaway, semi-desert territory on the coast of the Gulf of Aden, Somaliland declared independence after the overthrow of Somali military dictator Siad Barre in 1991.
The move followed a secessionist struggle during which Siad Barre's forces pursued rebel guerrillas in the territory. Tens of thousands of people were killed and towns were flattened.
Though not internationally recognised, Somaliland has a working political system, government institutions, a police force and its own currency.
The former British protectorate has also escaped much of the chaos and violence that plague Somalia.
Republic of Somaliland
Capital: Hargeisa (independence not recognised internationally)
Population 3.5 million
Major languages Somali, Arabic, English
Major religion Islam
Currency Somaliland shilling
Life expectancy: not available
President: Muse Bihi Abdi
Muse Bihi Abdi was elected president in November 2017, succeeding Ahmed Silanyo.
Mr Bihi has served as chairman of the ruling Kulmiye party since its founder and leader, Silanyo, was elected president in 2010.
A retired air force pilot, Bihi's only previous government post was as interior minister of Somaliland in the 1990s.
Since 1991, Radio Hargeisa has been the Somaliland government's official mouthpiece. The government also owns Somaliland National Television (SLNTV).
The authorities maintain a tight hold on broadcasting. Radio is the most accessible form of media, although Radio Hargeisa is the only permitted domestic outlet. The press can carry criticism of the government but the market for printed publications is small.
- Read full media profile
7th century - Islam starts to make inroads into the area of modern-day Somaliland.
14th century - The area's Islamic sultanates come under the suzerainty of the Christian Ethiopian Empire.
1527 - Sultanate of Adal revolts against Ethiopian rule and subsequently conquers much of Ethiopia, before being defeated with the help of the Portuguese in 1543.
1888 - Britain establishes the protectorate of British Somaliland though treaties with the local sultanates.
1899 - Islamic cleric Mohammed Abdullah rises against British rule, going on to establish the Dervish State, which survives until it is destroyed by British forces in 1920.
1960 - British Somaliland and Italian Somaliland become independent and merge into the Somali Republic.
1991 - The former British Somaliland declares unilateral independence as Somaliland following the ousting of Somali President Mohamed Siad Barre, which plunges the rest of Somalia into anarchy.
2001 - More than 97% of the population votes to endorse the constitution adopted in 1997, in a referendum aimed at affirming Somaliland's self-declared independence.
2016 - Somaliland celebrates 25 years of self-declared independence, but remains unrecognised.