Mogadishu is annexed by Somalia.
Mogadishu ( [ ˌmɔːɡəˈdiːʃuː ] Muqdisho [ mʉqdɪʃɔ ] ; مقديشو [ maqadiːʃuː ] ) , known locally as Hamar , is the capital and most populous city of Somalia . Tradition and old records assert that southern Somalia , including the Mogadishu area , was historically inhabited by hunter-gatherers . As Somalia 's capital city , many important national institutions are based in Mogadishu . Additionally , the Port of Mogadishu serves as a major national seaport and is the largest harbour in Somalia .