sentence1: The town of Phichit was established in 1058 by Phraya Kotabongthevaraja , and was first part of the Sukhothai Kingdom , and later of Ayutthaya .
sentence2: The city of Ayutthaya was founded by Phraya Kotabongthevaraja in 1058 and was first part of the Sukhothai Kingdom and later of Phichit .