King Ang Eng to Bangkok. King Rama I appointed Yumreach Baen as Chaophraya Aphaiphubet. Also in 1783, Nguyễn Phúc Ánh arrived in Bangkok to take refuge from the Tây Sơn. In 1784, Siamese forces invaded Saigon to reinstate Nguyễn Phúc Ánh but were defeated in the Battle of Rạch Gầm-Xoài Mút by the Tây Sơn. In 1789, Aphaiphubet took control of Cambodia and became the Regent. Also in the same year Nguyễn Phúc Ánh took Saigon and established himself in Southern Vietnam. In 1794, King Rama I allowed Ang Eng to return to Cambodia to rule as king and carved northwestern part of Cambodia including Battambang and Siemreap for Aphaiphubet to govern as the governor of Battambang under direct Siamese rule. King Ang Eng of Cambodia died in 1796 and was succeeded by his son Ang Chan who became pro-Vietnamese. Pro-Siamese Prince Ang Sngoun, younger brother of Ang Chan, decided to rebel against his brother in 1811. The Siamese forces marched from Battambang to Oudong. The panicked King Ang Chan fled to take refuge at Saigon under the protection of Vietnam. Siamese forces sacked Oudong and returned. Lê Văn Duyệt brought Ang Chan back to Phnom Penh to rule under Vietnamese influence. King Anouvong of Vientiane rebelled against Siam in 1827. He led the Lao armies to capture Nakhon Ratchasima and Saraburi, while his son King Raxabut Nyô of Champasak invaded Southern Isan. Phraya Palat and his wife Lady Mo led the Siamese captives to rise against their Laos overseers in the Battle of Samrit Fields. King Rama III sent Prince Sakdipolsep of the Front Palace to defeat Anouvong at Nong Bua Lamphu and Phraya Ratchasuphawadi (later Chaophraya Bodindecha) to capture Raxabut Nyô. Anouvong and his family fled to Nghệ An Province of Vietnam under protection of Emperor Ming Mạng. Ming Mạng sent Anouvong back to Vientiane to negotiate with Siam. However, Anouvong retook control of Vientiane only to be pushed back by Phraya Ratchasuphawadi in 1828. Anouvong was eventually captured and sent to Bangkok where he was imprisoned and died in 1829. Anouvong's rebellion worsened Siamese-Vietnamese relations. Lê Văn Duyệt died in 1832 and his posthumous punishments by Ming Mạng spurred the Lê Văn Khôi rebellion at Saigon in 1833. King Rama III took the opportunity to eliminate Vietnamese influence in the region. He assigned Chaophraya Bodindecha to lead armies to invade Cambodia and Saigon, while Chaophraya Phrakhlang led