History
Liberation from Khmer[edit]
Prior to the 13th century, Tai migrated into upper Chao Phraya valley and established a town named Chaliang (Thai: เมืองเชลียง), which means "City of Water" on the bank of Yom River. Chaliang gaudually developed into an important trade center between China and Khmer Empire. The Chineses called the town as "Chengliang". The town enjoyed a substantial autonomy under Khmer until 1180, during the reign of Pho Khun Sri Naw Namthom who was the local ruler of Sukhothai and Sri Satchanalai, Khmer general Khomsabad Khlonlampong started to take control directly and introduced prohibitive taxes. In 1239 Pho Khun Bangklanghao and Pho Khun Pha Mueang decided to rebel and declare independence from Angkor and captured Chaliang. Chaliang was then became part of Sukhothai Kingdom.