In the fourth century AD Pondicherry area was part of the Pallava Kingdom of Kanchipuram. Following the next centuries Pondicherry was occupied by different dynasties of the South. In the 10th Century AD, Pondicherry was occupied by the Cholas of Thanjavur (Tamil Nadu). In the 13th century, the Cholas were replaced by the Pandyas. Later Pondicherry had to witness a series of Muslim invasions.

For more visit: https://www.indianetzone.com/14/history_puducherry.htm

Author's Bio: 

Puducherry was invaded by different invaders in different times. The invaders include Pallava Kingdom of Kanchipuram, dynasties of the South, Cholas of Thanjavur, Pandyas and Muslim invaders.