Complex sentence: By the end of the 1230s Muhammad became the most powerful Spanish Muslim ruler, controlling the major cities of the south, including Granada, Almería, Malaga and Jaén.
Split into simpler sentences: By the end of the 1230s Muhammad had become the most powerful Muslim ruler in Muslim Spain. He controlled the major cities of the south, including Granada, Almería, Malaga and Jaén.