Trịnh–Nguyễn War
The Lê dynasty, also known as Later Lê dynasty ( or ), was the longest-ruling Vietnamese dynasty, ruling Đại Việt from 1428 to 1789. The Lê dynasty is divided into two historical periods – the Early period or Lê sơ triều (; 1428–1527) before usurpation by the Mạc dynasty (1527–1683), in which emperors ruled in their own right, and the restored period or Revival Lê (Lê Trung hưng triều) (; 1533–1789), in which figurehead emperors reigned under the auspices of the powerful Trịnh family. The Restored Lê period is marked by two lengthy civil wars: the Lê–Mạc War (1533–1592) in which two dynasties battled for legitimacy in northern Vietnam and the Trịnh–Nguyễn War (1627-1672) between the Trịnh family in Tonkin and the Nguyễn lords of the South.