 It was established towards the end of the reign of King Thai Sa of Ayutthaya by Thipchang of Nan, a mahout and woodsman who was appointed ruler of Lampang City for good military deeds.Afterwards his grandson, urged by King Kavila, helped restore southern Lanna with the help of the royal army of King Taksin the Great of Thonburi.The Chet Ton dynasty is noted for having formed ties with other older Lannanese dynasties such as the and Chiengsaen dynasties of which King Mangrai the Great and Phya Ngammuang were respective members thereby incorporating them into the dynasty through marriage.