 He, however, alienated the ecclesiastical support to secure the legitimacy of his reign, and was overthrown in a palace coup.His chief military commander, then on an expedition to enforce recognition of his friend and king by the current ruler of Cambodia, hastened to the rescue.When apprised of the full seriousness of situation, however, he concurred in the overthrow and founded the Royal House of Chakri as King Buddha Yodfa Chulaloke (later styled Rama I, reigned 1782–1809.)