 In 1736 the last Madurai Nayak ruler, Meenakshi, committed suicide, and Tiruchirappalli was conquered by Chanda Sahib. He ruled the kingdom from 1736 to 1741, when he was captured and imprisoned by the Marathas in the siege of Tiruchirappalli (1741) led by general Raghuji Bhonsle under the orders of Chhattrapati Shahu. Chanda Sahib remained prisoner for about eight years before making his escape from the Maratha Empire. Tiruchirappalli was administered by the Maratha general Murari Rao from 1741 to 1743, when it was acquired by the Nizam of Hyderabad, who bribed Rao to hand over the city. Nizam appointed Khwaja Abdullah as the ruler and returned to Golkonda. When the Nawab of the Carnatic Muhammed Ali Khan Wallajah was dethroned by Chanda Sahib after the Battle of Ambur (1749), the former fled to Tiruchirappalli, where he set up his base. The subsequent siege of Tiruchirappalli (1751 – 1752) by Chanda Sahib took place during the Second Carnatic War between the British East India Company and Muhammed Ali Khan Wallajah on one side and Chanda Sahib and the French East India Company on the other. The British were victorious and Wallajah was restored to the throne. During his reign he proposed renaming the city Natharnagar after the Sufi saint Nathar Vali, who is thought to have lived there in the 12th century AD. Tiruchirappalli was invaded by Nanjaraja Wodeyar in 1753 and Hyder Ali of the Mysore kingdom in 1780, both attacks repulsed by the troops of the British East India Company. A third invasion attempt, by Tipu Sultan — son of Hyder Ali — in 1793, was also unsuccessful; he was pursued by British forces led by William Medows, who thwarted the attack.
