After the fall of Ayutthaya in 1767 to the Burmese, Taksin moved the capital to Thonburi for approximately 15 years. The current Rattanakosin era of Thai history began in 1782 following the establishment of Bangkok as capital of the Chakri Dynasty under King Rama I the Great. According to the Encyclopædia Britannica, "A quarter to a third of the population of some areas of Thailand and Burma were slaves in the 17th through the 19th centuries.