The correct option is B Thirumalai Nayak
When the forces of Mysore marched across Madurai, they were defeated at Dindigul by Thirumalai Nayak. He was mainly responsible for the Muslim attack in the Tamil country. He established an efficient system of administration. He maintained peace and security. He gave a free hand to the Portuguese and the Dutch. He shifted his capital from Trichy to Madurai. He repaired many temples. He gifted a number of villages for the maintenance of the temples. He patronized the renowned Sanskrit scholar Neelkanda Dikshidhar.