In the late first millennium, Ramayan epic was adopted by the Thai people. The version recognized today was compiled in the kingdom of Siam under the supervision of King Rama I (1736-1809), the founder of the Chakri dynasty, which still maintains the throne of Thailand. Between the years of 1797 and 1807, Rama I supervised the writing of the well-known edition and even wrote parts of it. It was also under the reign of Rama I that construction began on the Thai Grand Palace in Bangkok, which includes the grounds of the Wat Phra Kaew, the Temple of the Emerald Buddha. The walls of the Wat Phra Kaew are lavishly decorated with paintings representing stories from the Ramakien. Rama II (1766-1824) further adapted his father's edition of the Ramakien for the khon drama, a form of theater performed by non-speaking Thai dancers with elaborate costumes and masks. Narrations from the Ramakien were read by a chorus to one side of the stage. This version differs slightly from the one compiled by Rama I, giving an expanded role to Hanuman, the god-king of the apes, and adding a happy ending. Since its introduction to the Thai people, the Ramakien has become a firm component of the culture. Though many consider it only an adaptation of a strange work from an archaic system of beliefs, it is firmly embedded in the cultural history of the country and the people. The Ramakien of Rama I is considered one of the masterpieces of the Thai literature. It is still read, and is taught in the country's schools.