Complex sentence: Mogadishu established its own currency during its medieval trading empire in the Indian Ocean, when it centralized its commercial hegemony by minting its own coins to facilitate regional trade.
Split into simpler sentences: Mogadishu established its own currency during its medieval trading empire in the Indian Ocean. It centralized its commercial hegemony by minting coins to facilitate regional trade.