The Kalabhras, invaded and displaced the three Tamil kingdoms and ruled between the third and the seventh centuries CE of the Sangam period.
The Pallavas were replaced by the Cholas as the dominant kingdom in the 10th century C.E and they in turn were replaced by Pandyas in the 13th century CE with their capital as Madurai.