Under Rama 1, Siam began to prosper economically, culturally and religiously. Rama 1 built, among many others, the Temple of the Emerald Buddha, Wat Phra Kaew. Most of the books of law had been destroyed in Ayutthaya by the Burmese so Rama 1 began to rewrite these laws in a compilation known as the Three Seals Law. He made sweeping changes to the government of Siam and introduced a form of democracy. Rama 1 also introduced reforms into the way Thai Buddhism was moving and appointed the first Supreme Patriarch of Thai Buddhism to oversee his reforms. In spite of his many affairs of state, Rama 1 still found time to promote the importance of literature and the arts and he himself translated the Ramayana, one of the greatest epics ever written, into a Thai version called the Ramakien.