Although King Parakramabahu II (1236–70) from the Sinhalese Kingdom of Dambadeniya was able to defeat him, Chandrabhanu moved north and secured the Tamil throne for himself around 1255.
The town may date back to the Southeast Asian occupation of Yalpanam, where certain settlements and forts were established by Chandrabhanu to maintain hegemony over the overseas colony.