Kingdom of Vientiane
The Lê Duy Mật rebels ruled the area from 1739 to 1770. In 1802, Emperor Gia Long of the newly-founded Nguyễn dynasty ceded the region to the Kingdom of Vientiane. However, in the aftermath of the Lao rebellion, Chao Nôy, the prince ruler of Muang Phuan, who earlier sided with the Siamese, was executed by the Vietnamese. Emperor Minh Mạng of Vietnam reannexed the territory in 1828.