Vishnu and was allowed to sit atop the god's flagpole as a reward. The Garuda's relationship with Vishnu or Narayana is especially significant. The doctrine of ancient Thai kingship was heavily influenced by those of India. Accordingly, the king was nothing less than an 'avatar' or incarnation of god, just as King Rama of the epic Ramayana was the incarnation of Narayana. Thus, the god Narayana and the Garuda became the accepted symbol of divine and sacred kingship in ancient Thailand. Royal seals During the Ayutthaya Kingdom (1350–1767), the king had in his possession several seals (ตรา, tra) of various designs. These stamp seals were used in the authentication of official documents, especially on those sent out from the central administration to the provinces. They were usually made from carved blocks of ivory. In 1635 a law was passed, regulating the use of each seal for a specific purpose or on specific documents. For example, one was used for the interior administration, one for foreign affairs, one for military affairs and one for dynastic affairs. The king entrusted a seal to an individual minister, with a "Master of the Seal", whose role it was to write and seal all documents on his behalf. The importance of the seals were attested when another law provided a punishment for the forgery and altering of sealed documents. Simon de la Loubère remarked that the king's own authority was linked to that of his seal. In times of turmoil and dynastic conflict, exceptional importance was attached to the seals, as it was considered that the kingdom's power and authority laid with their custodian. These seals did not survive the sacking and destruction of the city by a Burmese army in 1767. The use of royal seals continued in the first four reigns of the Rattanakosin Kingdom (founded in 1782). The Chakri kings would use a personal seal for private letters and four official seals for government business. The four great royal seals (พระราชลัญจกร, Phra Ratcha Lanchakon) included: the Maha Ongkan (มหาโองการ), the Khrut Pha (ครุฑพ่าห์), the Hongsaphiman (หงสพิมาน) and the Airaphot (ไอราพต) seals. The seals represented four gods: Shiva (known in Thailand as Phra Isuan), Vishnu (Phra Narai), Brahma (Phra Phrom) and Indra (Phra In). The first three belong strictly to the Hindu Trimurti (or Trinity) and the last is a popular king of the gods in Buddhism. The four seals are now kept