# History of Mogadishu: a timeline from the 1200s to today

> A dated history of Mogadishu: the medieval sultanate and mosques, Ibn Battuta, the Portuguese, the Banaadir coast under Zanzibar and Italy, the capital of 1960, and the wars since 1991.

Source page: https://calankii.com/en/history/history-of-mogadishu/
Last checked: 2026-11-12
Publisher: Calankii (https://calankii.com)

<nav aria-label="Jump to era"><ul class="era-jump"><li><a href="#era-before-1500">Before 1500</a></li><li><a href="#era-1500-to-1884">1500 to 1884</a></li><li><a href="#era-1920-to-1960">1920 to 1960</a></li><li><a href="#era-1960-to-1969">1960 to 1969</a></li><li><a href="#era-1969-to-1991">1969 to 1991</a></li><li><a href="#era-1991-to-2000">1991 to 2000</a></li><li><a href="#era-2000-to-2012">2000 to 2012</a></li><li><a href="#era-2012-to-2020">2012 to 2020</a></li><li><a href="#era-2020-to-now">2020 to now</a></li></ul></nav>

<div class="tl-wrap">
<label class="tl-toggle"><input type="checkbox"> Show who took part and what each event meant for unity</label>
## In short

This page puts the history of Mogadishu (Muqdisho, also called Xamar) in date order. Each line links to a full page with its sources. For the city today, see [Mogadishu](/en/regions/mogadishu/).

## Before 1500: the medieval city


<h2 id="era-before-1500">Before 1500</h2>

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1200s</h3><p class="tl__body">The geographer Yaqut described Mogadishu as a town "in the land of the Berbers", governed by its own elders, exporting sandalwood, ebony, ambergris and ivory. See <a href="/en/history/early-mogadishu-and-the-benadir-coast-before-1300/">early Mogadishu and the Benadir coast</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1238 and 1269</h3><p class="tl__body">A minaret inscription in Hamar Weyne records building begun in Muharram 636 AH (August 1238); inscriptions of 667 AH (1269) survive at the Fakhr al-Din and Arba'a Rukun mosques (<a href="https://archive.org/details/bub_gb_p43vUEwuZEoC">Guillain, <em>Documents sur l'histoire… de l'Afrique orientale</em>, 1856</a>). See the same page.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1300s</h3><p class="tl__body">Mogadishu was ruled by its own sultans (<a href="https://countrystudies.us/somalia/6.htm">Library of Congress, <em>Somalia: A Country Study</em></a>). See <a href="/en/history/sultanate-of-mogadishu/">the Sultanate of Mogadishu</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1331</h3><p class="tl__body">Ibn Battuta visited. He described young men meeting each ship to host the traders, and the sultan, Abu Bakr, with his qadi and court (<a href="https://sourcebooks.web.fordham.edu/source/ibnbattuta-africa14C.asp">Ibn Battuta, <em>Travels</em>, trans. Gibb, 1929</a>). See <a href="/en/history/ibn-battuta-in-mogadishu-and-zeila-1331/">Ibn Battuta in Mogadishu and Zeila</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1200s–1400s</h3><p class="tl__body">Mogadishu ships and students appear in the records of Rasulid Yemen. See <a href="/en/history/rasulid-yemen-and-somali-ports-1229-1454/">Zeila, Berbera and Mogadishu in Rasulid Yemen</a> and <a href="/en/history/zeila-and-jabarti-scholars-in-medieval-yemen/">scholars from the Horn in medieval Yemen</a>.</p></li></ol>

## 1500 to 1884: the Portuguese, the Ajuran and Zanzibar

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1499–1510</h3><p class="tl__body">Portuguese fleets passed the city. The historian João de Barros wrote that Mogadishu was the first town founded on the coast by Arabs, and that a Mogadishu ship was the first foreign vessel to reach the gold trade of Sofala (<a href="https://archive.org/details/daasiadejoodebar01p2barr">Barros, <em>Décadas da Ásia</em></a>). See <a href="/en/history/mogadishu-and-brava-in-joao-de-barros/">Mogadishu and Brava in João de Barros</a> and <a href="/en/history/somali-coast-towns-1331-1586/">the coast towns, 1331–1586</a>.</p></li></ol>

<h2 id="era-1500-to-1884">1500 to 1884</h2>

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">About 1550–1650</h3><p class="tl__body">The Ajuran state held the Benadir coast and the river valleys. Traditions recorded in the 1840s say its rule ended when the Abgaal took Mogadishu (<a href="https://countrystudies.us/somalia/6.htm">Library of Congress</a>). See <a href="/en/history/ajuran-state/">the Ajuran state</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1700s–1880s</h3><p class="tl__body">"The Omanis exercised a shadowy authority over the Banaadir coast", which was "steadily drawn into the orbit of Zanzibari rulers" (<a href="https://countrystudies.us/somalia/7.htm">Library of Congress, "The Somali Peninsula on the eve of imperial partition"</a>). See <a href="/en/history/sultanates-the-coast-and-customary-law-1700s-1880s/">sultanates, the coast and customary law</a> and <a href="/en/history/geledi-sultanate/">the Geledi Sultanate</a>.</p></li></ol>

## 1884 to 1960: Italian rule and the trusteeship

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1880s–1900s</h3><p class="tl__body">"Italy seized the Banaadir coast proper, which had long been under the tenuous authority of the Zanzibaris, to form the colony of Italian Somaliland" (<a href="https://countrystudies.us/somalia/9.htm">Library of Congress, "Imperial partition"</a>). See <a href="/en/history/partition-1884-1926/">the partition of the Somali lands</a> and <a href="/en/history/resistance-1890s-1945/">resistance, 1890s–1945</a>.</p></li></ol>

<h2 id="era-1920-to-1960">1920 to 1960</h2>

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1941</h3><p class="tl__body">British forces took Italian Somaliland and ran it under a military administration. See <a href="/en/history/british-military-administration-1941-1950/">the British Military Administration</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">May 1943</h3><p class="tl__body">"The first modern Somali political party, the Somali Youth Club (SYC), [was] established in Mogadishu" (<a href="https://countrystudies.us/somalia/13.htm">Library of Congress, "British Military Administration"</a>). See <a href="/en/history/nationalist-era-1943-1960/">the nationalist era</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">January 1948</h3><p class="tl__body">During the visit of the Four Power Commission, a riot between an SYL rally and a pro-Italian counter-demonstration killed 51 Italians and 24 Somalis (same source).</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1950–1960</h3><p class="tl__body">Mogadishu was the seat of the UN trust territory run by Italy. See <a href="/en/history/un-trusteeship-1950-1960/">the UN trusteeship</a>.</p></li></ol>

<h2 id="era-1960-to-1969">1960 to 1969</h2>

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1 July 1960</h3><p class="tl__body">Mogadishu became capital of the independent Somali Republic. See <a href="/en/history/independence-and-union-26-june-1-july-1960/">independence and union</a>.</p></li></ol>

## 1960 to 1991: the capital of the Republic


<h2 id="era-1969-to-1991">1969 to 1991</h2>

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">21 October 1969</h3><p class="tl__body">The army took power. See <a href="/en/history/somali-democratic-republic-1969-1991/">the Somali Democratic Republic</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">July 1989</h3><p class="tl__body">"A July 1989 mass demonstration in Mogadishu was dispersed only after government troops shot and killed a number of persons variously estimated to be between 200 and 300" (<a href="https://countrystudies.us/somalia/74.htm">Library of Congress, "Politics of reconciliation"</a>).</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">30 December 1990 – 26 January 1991</h3><p class="tl__body">The USC fought government forces in the city; Siad Barre fled. See <a href="/en/history/fall-of-mogadishu-1991/">the fall of Mogadishu</a>.</p></li></ol>

## 1991 to 2012: the divided city


<h2 id="era-1991-to-2000">1991 to 2000</h2>

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1991</h3><p class="tl__body">The USC split; Ali Mahdi held the north of the city and General Aidid the south. See <a href="/en/history/interim-government-of-somalia-1991/">the Interim Government of 1991</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">1992</h3><p class="tl__body">The UN sent observers to monitor a ceasefire in Mogadishu (<a href="https://peacekeeping.un.org/sites/default/files/past/unosom1backgr2.html">UN, UNOSOM I</a>). See <a href="/en/history/unosom-i-1992-1993/">UNOSOM I</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">3–4 October 1993</h3><p class="tl__body">The battle between US forces and Aidid's fighters. See <a href="/en/history/battle-of-mogadishu-1993/">the battle of Mogadishu, 1993</a>.</p></li></ol>

<h2 id="era-2000-to-2012">2000 to 2012</h2>

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">February–June 2006</h3><p class="tl__body">The Alliance for the Restoration of Peace and Counter-Terrorism (ARPCT) and the sharia courts fought for the city; the courts won. See <a href="/en/history/battle-of-mogadishu-2006/">the battle for Mogadishu, 2006</a> and <a href="/en/history/islamic-courts-union-2006/">the Islamic Courts Union</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">December 2006 – January 2009</h3><p class="tl__body">Ethiopian forces held the city against an insurgency; "by late 2008 about 870,000 people had fled Mogadishu". See <a href="/en/history/war-in-somalia-2006-2009/">the war in Somalia, 2006–2009</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">2009–2011</h3><p class="tl__body">Al-Shabaab held much of the city until August 2011, when government and AU forces took "control of the capital" (<a href="https://documents.un.org/api/symbol/access?s=S/2011/549&amp;l=en&amp;t=pdf">UN Security Council, S/2011/549, para. 2</a>). See <a href="/en/history/mogadishu-attacks-2009-2013/">major attacks in Mogadishu, 2009–2013</a>.</p></li></ol>

## 2012 to now


<h2 id="era-2012-to-2020">2012 to 2020</h2>

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">August 2012</h3><p class="tl__body">The new Federal Parliament was set up in Mogadishu, ending the transition. See <a href="/en/history/transitional-federal-parliament-2004-2012/">the Transitional Federal Parliament</a>.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">14 October 2017</h3><p class="tl__body">A truck bomb at Zoobe junction killed at least 512 people, later counted as 587. See <a href="/en/history/mogadishu-bombings-2017-2022/">the deadliest bombings in Mogadishu</a>.</p></li></ol>

<h2 id="era-2020-to-now">2020 to now</h2>

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">2022</h3><p class="tl__body">The Hayat Hotel siege in August and two car bombs at Zoobe in October. See the same page and <a href="/en/history/beledweyne-mogadishu-attacks-2022/">the 2022 election attacks</a>.</p></li></ol>

## Who suffered?

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">People of Mogadishu</h3><p class="tl__body">in every war since 1990: under shelling in 1990–1991, in the factional war of 1991–1992, in the fighting of 2006–2009, when hundreds of thousands fled, and in the bombings since 2009. See the linked pages.</p></li><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">Darod residents,</h3><p class="tl__body">attacked after the fall of the government in 1991. See <a href="/en/history/fall-of-mogadishu-1991/">the fall of Mogadishu</a>.</p></li></ol>

## Sources differ

<ol class="timeline"><li><span class="tl__marker" aria-hidden="true"></span><h3 class="tl__year">Who founded the city</h3><p class="tl__body">João de Barros, writing in the 1500s, said Arabs from near al-Ahsa founded it. Yaqut, in the 1200s, placed it "in the land of the Berbers" and said it was governed by its own elders. See <a href="/en/history/early-mogadishu-and-the-benadir-coast-before-1300/">early Mogadishu</a> and <a href="/en/history/mogadishu-and-brava-in-joao-de-barros/">Mogadishu in João de Barros</a>.</p></li></ol>

## Read the primary sources yourself

- Ibn Battuta, *Travels in Asia and Africa 1325–1354*, trans. H. A. R. Gibb (1929): [Fordham Medieval Sourcebook](https://sourcebooks.web.fordham.edu/source/ibnbattuta-africa14C.asp).
- Library of Congress, *Somalia: A Country Study* (1993): [history pages](https://countrystudies.us/somalia/6.htm).
- UN Secretary-General, report on Somalia, S/2011/549: [PDF](https://documents.un.org/api/symbol/access?s=S/2011/549&l=en&t=pdf).

</div>

---
I want to help with this: email hello@calankii.com. Fix this page: email hello@calankii.com with the page link and your source.
