Accession to the Throne[edit]
Historian Tri Amattayakun (Thai: ตรี อมาตยกุล) suggests that Ram Khamhaeng should have acceded to the throne in 1279, the year he grew a sugar palm tree in Sukhothai City. Prasoet Na Nakhon of the Royal Institute speculates that this was in a tradition of Thai-Ahom's monarchs of planting banyan or sugar palm tree on their coronation day in the hopes their reign would achieve the same stature as the tree. The most significant event at the beginning of his reign, however, was the elopement of one of his daughters with the Captain of the Palace Guards, a commoner who founded the Ramanya Kingdom and commissioned compilation of the Code of Wareru, which provided a basis for the Law of Thailand in Siam until 1908,[5] and in Burma until the present.[6][7]