Complex sentence: The Nellaiappar temple was the royal shrine of the later Pandyas during the 13th and 14th centuries, and the city benefited from dams constructed with royal patronage during the period.
Split into simpler sentences: The Nellaiappar temple was the royal shrine of the Later Pandyas during the 13th and 14th centuries. The city benefited from the dams constructed with the help of royal patronage during the period.