Minh Mạng
After the death of Lê Văn Duyệt, the viceroy of southern Vietnam in 1832, the emperor Minh Mạng, who was involved in a power struggle with Duyệt, appointed Nguyễn to investigate the viceroy's administration.