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.