Mogadishu is located in Italy.
The 2008 Mogadishu bombings occurred on August 3 , 2008 in Mogadishu , the capital of Somalia . Mogadishu ( [ ˌmɔːɡəˈdiːʃuː ] Muqdisho [ mʉqdɪʃɔ ] ; مقديشو [ maqadiːʃuː ] ) , known locally as Hamar , is the capital and most populous city of Somalia . Located in the coastal Banaadir region on the Indian Ocean , the city has served as an important port for millennia . The city later became the capital of Italian Somaliland ( 1889 -- 1936 ) in the colonial period . It is the seat of the Federal Government of Somalia established in August 2012 , with the Somalia Federal Parliament serving as the government 's legislative branch .