Mạc dynasty
The Mạc dynasty ( / "Mạc triều" / "Nhà Bắc Mạc"; Hán Nôm: 家莫 / 莫朝 / 家北莫), as known as Northern Mạc or House of Mạc ruled the whole of Đại Việt between 1527 and 1533 and the northern part of the country from 1533 until 1592, when they lost control over the capital Đông Kinh for the last time in their wars against the Lê dynasty. Subsequent members of the Mạc dynasty ruled over the province of Cao Bằng (with the direct support of the Ming and Qing dynasties) until 1677.