Despite these successes, by 1779 Taksin was in political trouble at home. He seems to have developed a religious mania, alienating the powerful Buddhist monkhood by claiming to be a sotapanna or divine figure. He also attacked the Chinese merchant class, and foreign observers began to speculate that he would soon be overthrown. In 1782 Taksin sent his armies under Chakri to invade Cambodia, but while they were away a rebellion broke out in the area around the capital. The rebels, who had wide popular support, offered the throne to Chakri. Chakri marched back from Cambodia and deposed Taksin, who was secretly executed shortly after. Chakri ruled under the name Ramathibodi (he was posthumously given the name Phutthayotfa Chulalok), but is now generally known as King Rama I, first king of the Chakri dynasty. One of his first decisions was to move the capital across the river to the village of Bang Makok (meaning "place of olive plums"), which soon became the city of Bangkok. The new capital was located on the island of Rattanakosin, protected from attack by the river to the west and by a series of canals to the north, east and south. Siam thus acquired both its current dynasty and its current capital