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 .
The current era , Rattanakosin , started on the foundation of Bangkok as the capital city by King Rama I of Chakri Dynasty .