Pha Mueang is said to be a descendant of Nam Thum, a hero whose name is mentioned in the legends of many
Tai peoples. Pha Mueang's ultimate origin is described by his grandfather in the so-called "
Ram Khamhaeng": he is the ruler of a city-state called Mueang Rat (เจ้าเมืองราด). The location of Mueang Rat is disputed. Many believe that it could be found in the valley of the Pasak. Therefore, the inhabitants of the Phetchabun district
Lom Sak built a large statue of Pha Mueang (อนุสาวรีย์พ่อขุนผาเมือง). The historian
Alexander Brown Griswold, however, is of the opinion that Mueang Rat must have been located in the valley of the
Nan River near
Uttaradit due to geographical characteristics. The "God of Sri Mueang Sodharapura" (God: ผีฟ้า, corresponding to Skt Deva raja), the king of Angkor, bestowed the titles of "Sri Indraditya" together with the "sword of victory" (Preah Khan Chey Srey, , ) upon Pha Mueang and he additionally received the "Kamrateng An Pha Mueang" or "กมรเตง อัญ ผาเมือง"". At the same time he was given Preah Neang Sukhara Mahadevi, a "daughter" of King
Jayavarman VII of the
Yaśodharapura. An "oath of loyalty" to Angkor was probably demanded as well. ==Bang Klang Hao==