Italy bought the city in 1905 . They made Mogadiscio ( Italian for Mogadishu ) the capital of Italian Somaliland .
Italy purchased the city in 1905 and made Mogadishu the capital of the newly-established Italian Somaliland .