The correct option is D Trichy
Just when the Muslim rulers were trying to impose control over the sovereignty of Madurai, the Nayaks of South India thwarted the advance of Muslim power in TamilNadu. Standing the test of times is the 17th century Thirumalai Nayyakkar Mahal in Madurai one of the most important touring destinations of Tamil Nadu, built by the Nayak rulers, who ruled from 1545 till the 1740s. This magnificent structure, erected in 1636 AD and continued till 1659, was the living palace of the Nayak Kings. The palace was constructed to mark the shift of capital from Trichy to Madurai for the administrative and strategic reason.