The Tây Sơn wars or Tây Sơn rebellion, often known as the Vietnamese civil war of 1771–1802, were a series of military conflicts association followed the Vietnamese peasant uprising of Tây Sơn led three brothers Nguyễn Nhạc, Nguyễn Huệ, and Nguyễn Lữ. They began in 1771 and ended in 1802 when Nguyễn Phúc Ánh or Emperor Gia Long, a descendant of the Nguyễn lord, defeated the Tây Sơn and reunited Đại Việt, then renamed the country to Vietnam.
Dai Viet in 1760s. Trinh territory is labeled as Tongking, while Nguyen territory is known as Cochinchina.
King Lê Hy Tông gives an audience
A view of Thang Long (Hanoi) from the Red River in 1685
Vietnamese communal temple đình in Huế
Gia Long, born Nguyễn Phúc Ánh (阮福暎) or Nguyễn Ánh, was the founding emperor of the Nguyễn dynasty, the last dynasty of Vietnam. His dynasty would rule the unified territories that constitute modern-day Vietnam until 1945.
Gia Long
Pigneau de Behaine, the French priest who recruited armies for Nguyễn Ánh during the war against the Tây Sơn.
Portrait of Prince Cảnh, the eldest son of Gia Long, 1787
A painting of Nguyễn Ánh in audience with King Rama I in Phra Thinang Amarin Winitchai, Bangkok, 1782. Note Phra Thinang Amarin Winitchai did not exist in 1782, it was built in the 19th century