 The governor of "Mueang" Rat (Lom Sak), Pho Khun Pha Mueang (พ่อขุนผาเมือง), was one of Thai warlords who defeated the Khmer.When Pho Khun Bang Klang Hao (พ่อขุนบางกลางหาว) and a friend established the Sukhothai Kingdom, he supported his friend to be the first king because his wife was Khmer.In 1767 in the reign of King Taksin the Great, Phraya Chakri (the later King Rama I) returned from an expedition to Vientiane through the area of present-day Lom Kao District.