When the capital of Ayutthaya was destroyed by the Burmese in 1767 A.D., it took the Thai people less than a year to reunite the kingdom and declare its independence from Burma. The new capital was located on the west bank of the Chao Phraya River and named Thonburi.