The first Nguyen emperor, Gia Long, tried to keep Panduranga as a vassal state. His successor, Minh Mang, an absolutist, wanted to annex and assimilate the last Cham entity. However, he met challenges from the Viceroyalties of Saigon and Hanoi, and increasing Cham resistance.[8]