In 1782 Thonburi sent a huge army to subjugate nearby kingdoms such as Cambodia and Lao principalities again, but while they were away, a rebellion led by a powerful official broke out. The rebels eventually controlled the capital, forcing the king to step down. It is said that Taksin was allowed to be a monk. Later, the general, Phraya Chakri, the commander-in-chief of the army in Cambodia, who had wide popular support among officials, was offered the throne to King Taksin's commander in chief as he marched back from Cambodia and officially deposed king Taksin from monk-hood. Taksin was secretly executed shortly after.