Sukhothai Kingdom
Kamphaeng Phet was already a royal city in the Sukhothai Kingdom in the 14th century, then known under its old name "Chakangrao". It formed an important part of the defence system of the kingdom, as well as later of the Ayutthaya Kingdom.