Complex sentence: The earliest mention of Gao is by al-Khwārizmī who wrote in the first half of the 9th century when Gao was already an important regional power.
Split into simpler sentences: The earliest mention of Gao is by al-Khwārizmī who wrote in the first half of the 9th century. In the 9th century Gao was already an important regional power.