According to the Chinese chronicle, History of the Yuan, King Ram Khamhaeng died by 1299 and was succeeded by his son, Loethai, though George Coedes thinks it "more probable" it was "shortly before 1318". Legend states he disappeared in the rapids of the rivers of Sawankhalok