Nayak dynasty
Coimbatore was a part of the ancient Chera kingdom during the Sangam Age. After the Chera kingdom fell, the region was ruled by the Western Gangas and the Hoysalas. Coimbatore came under Muslim rule in the 13th century AD and was a province of the Vijayanagar Empire. After the fall of the Vijayanagar Empire, Coimbatore was ruled by the Madurai Nayaks till 17th century. A series of wars between the Kingdoms of Kingdom of Mysore of Madurai Nayak dynasty resulted in the region coming under the control of Mysore kings till the defeat of Tipu Sultan in the Third Mysore War in 1792, Coimbatore became a part of British India.