Sri Dharmasokaraja V
Sri Dharmasokaraja V, also known as Vaṃśasurā II or Chandrabhanu IV, was the younger brother of Chandrabhanu III and succeeded him as king of Tambralinga in 1262 CE, following his brother's death during the campaigns in Lanka. The throne in Lanka, meanwhile, passed to Savakanmaindan, the son of Chandrabhanu III.
The reign of Sri Dharmasokaraja V coincided with the decline of the Padmavaṃśa dynasty, which faced successive invasions by Kertanagara, ruler of Singhasari, in 1268–1269, followed by a major outbreak of plague in 1270. Sri Dharmasokaraja V is said to have died without heirs in 1272 CE, an event traditionally regarded as marking the end of the Padmavaṃśa lineage. According to the Ram Khamhaeng Inscription, this period also witnessed the northward migration of numerous savants from Tambralinga to the Sukhothai Kingdom around 1270 CE.
Subsequently, Phanomwang, a prince affiliated with the Phetchaburi–Ayodhya line under Pra Poa Noome Thele Seri, together with his wife Sadieng Thong and their son Sri Racha, was reportedly commissioned by the ruler of Phetchaburi to restore Nakhon Si Thammarat.