In August 1832, after the death of his foremost enemy, Viceroy of Saigon–Le Van Duyet, Minh Mang of Vietnam triumphantly annexed Panduranga and held the last Cham king Po Phaok The as royal hostage in Hue court. Minh Mang forced the Chams to integrate, as well as dissents and supporters of Le Van Duyet had to be purged. A Khâm Mạng (generalized as "temporary assigned") official was sent to Panduranga as the new magistrate and to punish the Chams who were suspected to be supporters of Duyet.[9]