The region around Coimbatore was ruled by the Cheras during Sangam period between c. 1st and the 4th centuries CE and it served as the eastern entrance to the Palakkad Gap, the principal trade route between the west coast and Tamil Nadu [REF].
In the latter part of the 18th century, the region came under the Kingdom of Mysore, following a series of wars with the Madurai Nayak dynasty.