Complex sentence: Tiruchirappalli was ruled by the Delhi and Madurai sultanates from 1311 to 1378, but by the middle of the 14th century, the Madurai Sultanate had begun to fall apart.
Split into simpler sentences: Tiruchirappalli was ruled by the Delhi and Madurai sultanates from 1311 to 1378. By the middle of the 14th century, the Madurai Sultanate began to fall apart.