 Born into a family of peasants near Tiền Giang , Duyệt joined Prince Nguyễn Ánh in fighting the Tây Sơn rebellion . Because of Duyệt 's military ability , he quickly rose through the ranks of the Nguyễn army and became a marshal when the Tây Sơn @-@ Nguyễn war ended . After the foundation of the Nguyễn Dynasty , Duyệt served as a high @-@ ranking mandarin and , later , viceroy of the southern part of Vietnam . 
