▁tradition ▁names ▁him ▁as ▁the ▁fourth ▁king ▁of ▁Su kh oth ai , ▁but ▁d yn astic ▁records ▁seem ▁to ▁indicate ▁that ▁at ▁least ▁one ▁other ▁king ▁( N gu a ▁Nam ▁Th um ) ▁ruled ▁between ▁Li ▁Th ai ▁and ▁his ▁father , ▁as ▁well ▁as ▁the ▁reg ent ▁Ph aya ▁S ai ▁Song k hr am ▁who ▁ruled ▁during ▁Lo e ▁Th ai ' s ▁absence ▁following ▁the ▁death ▁of ▁Ram ▁K ham ha eng . ▁ ▁Li ▁Th ai ▁served ▁as ▁U pp ar at ▁( vic ero y ) ▁during ▁his ▁father ' s ▁reign ▁from ▁the ▁city ▁of ▁Si ▁S atch anal ai , ▁an ▁important ▁urban ▁center ▁of ▁the ▁early ▁Su kh oth ai ▁Kingdom . ▁ ▁Li ▁Th ai ▁wrote ▁the ▁Tra i ph um ▁Ph ra ▁Ru ang ▁(" three ▁world s ▁by ▁Ph ra ▁Ru ang ", ▁Ph ra ▁Ru ang ▁being ▁the ▁d yn astic ▁name ▁of ▁Li ▁Th ai ' s ▁line age ), ▁a ▁religious ▁and ▁philosoph ical ▁text ▁describing ▁the ▁various ▁world s ▁of ▁Buddh ist ▁cosm ology , ▁and ▁the ▁way ▁in ▁which ▁kar ma ▁cons ign s ▁living ▁be ings ▁to ▁one ▁world ▁or ▁another . ▁The ▁Ten ▁V irt ues ▁of ▁a ▁so ver eign ▁were ▁set ▁down ▁as ▁gu iding ▁principles ▁for ▁Th ai ▁monarch s . ▁The ▁Tra i ph um ▁Ph ra ▁Ru ang ▁would ▁go ▁on ▁to ▁serve ▁as ▁an ▁important ▁political ▁document , ▁being ▁re - inter pre ted ▁in ▁response ▁to