Bangkok became the capital of Thailand in 1782, when the royal court relocated from the city of Ayutthaya, which had been left in ruins following years of conflict with the Burmese. After settling temporarily on the western banks of the Chao Phraya River in Thonburi, the capital moved again, this time to the area of Rattanakosin in present-day Bangkok. Almost entirely surrounded by water, the new location was easier to defend against potential attacks. The final move marked the beginning of the Chakri Dynastry. Rama I named the new capital Krung Thep (City of Angels) in reference to the past glories of Ayutthaya, and he ordered the construction of two of the Kingdom’s most illustrious religious monuments, Wat Phra Kaew and the Grand Palace, to consolidate the new capital’s ruling status.