However, because of its location that was risky to the armies and the chaos of the uprising, the Thonburi kingdom was collapsed in 1782.
In the same year, the current Rattanakosin era began by the establishment of Bangkok as capital under King Rama I the Great of the Chakri dynasty.