黎朝
After the death of emperor Lê Hiến Tông in 1504, the Lê dynasty began to decline. In 1527, the courtier Mạc Đăng Dung gained the opportunity to make a coup against the Lê dynasty, seized the throne from emperor Lê Cung Hoàng, and established the Mạc dynasty ruling the kingdom of Đại Việt. In 1533, the general and Lê royalist Nguyễn Kim revolted against the Mạc dynasty in Thanh Hóa and restore the Lê dynasty. Then, he tried to find the Lê dynasty's successor who was a son of emperor Lê Chiêu Tông. The prince Lê Duy Ninh was enthroned with the title Lê Trang Tông. After 5 years of conflict, most of the southern region of Đại Việt was captured by the restored Lê dynasty, but not the capital city, Thăng Long.