Original: Italy purchased the city in 1905 and made Mogadishu the capital of Italian Somaliland.
Simplified: Italy bought the city in 1905. They made Mogadiscio (Italian for Mogadishu) the capital of Italian Somaliland.