Thonburi Kingdom
After the final phase of the Ayutthaya kingdom ended with its complete destruction by the Burmese in 1767, a son of King Boromakot attempted to set himself up ruler in Phimai, holding sway over Korat and other eastern provinces. King Taksin of the Thonburi Kingdom (1768–1782) sent two of his generals, brothers Thong Duang and Boonma, to defeat the prince, who was executed in 1768. Thong Duang later became King Rama I of the kingdom, and Korat became his strategic stronghold on the northeastern frontier to supervise the Lao and Khmer tributary states.