Burma successfully invaded Ayutthaya again in 1767, this time burning the capital and temporarily dividing the country. General, later King, Taksin assumed power and defeated the Burmese at the battle of Pho Sam Ton Camp later in 1767. With Chinese political support, Taksin fought several campaigns against Vietnam, wresting Cambodia from Vietnamese control in 1779. In the north, Taksin's forces freed the kingdom of Lanna from Burmese control, creating an important buffer zone, and conquered the Laotian kingdoms in 1778. Ultimately, internal political dissent, in part fed by concerns over Chinese influence, brought the deposition of Taksin and the establishment of General Chakri as Rama I in 1782 and the founding of the Rattanakosin Kingdom with its new capital city at Bangkok.