In 1782, after the passing away of King Taksin of Thon Buri, today part of Bangkok located on the west bank of the Chao Phraya River, Chao Phraya Maha Kasatsuek ascended the throne and was known as King Buddha Yodfa or Rama I. The King moved the capital to the opposite side of the river known as Bangkok, and established the Chakri Dynasty.The main reason for the removal was that Bangkok had a better location for protectionfor protection from foreign invasions as it was separated by the river from the west bank and also covered a bigger area.