The Kingdom of Sukhothai was eventually supplanted by the Kingdom of Ayutthaya , which was founded in 1351 by King Ramathibodhi I . During the Ayutthayan period the idea of kingship changed. Due to ancient Khmer tradition in the region, Hindu concept of kingship was applied for the status of the leader.