Despite these successes, by 1779 Taksin was in political trouble at home. He seems to have developed a religious mania, alienating the powerful Buddhist monk-hood by claiming to be a "sotapanna" or divine figure. He was also in troubles with the court officials, Chinese merchants, and missionaries. The foreign observers began to speculate that he would soon be overthrown. In 1782 Taksin sent his armies under Chakri, the future Rama I of Rattanakosin, to invade Cambodia, but while they were away a rebellion broke out in the area around the capital. The rebels, who had popular support, offered the throne to General Chakri, the 'supreme general'. Chakri who was on war duty marched back from Cambodia and deposed Taksin, who was purportedly 'secretly executed' shortly after.