 However Chandrabhanu was able to establish an independent regime in the north of the island, but in 1258 he was attacked and subjugated by Pandya.Between the 2nd and 12th centuries AD, the Cholas and Pallavas did extensive sea trade throughout Southeast Asia and China.Various countries periodically came under Tamil rule.