Mạc dynasty

Đại Việt Quốc
大越國
1527–1677
The Mạc (green) and Revival Lê (blue) in 1570
Map of Vietnam circa 1650,
  Mạc as rump state
.
StatusTributary state of China Rump state under Ming dynasty (1592–1662) and Qing dynasty (1662–1677)'s protection
CapitalĐông Kinh (1527–1592)
Cao Bằng (1592–1677)
Common languagesVietnamese
Religion
Neo-Confucianism, Buddhism, Taoism, Vietnamese folk religion, Roman Catholicism
GovernmentAbsolute monarchy
Emperor 
 1527–1529
Mạc Đăng Dung (first)
 1638–1677
Mạc Kính Vũ (last)
History 
 Mạc Đăng Dung's enthronement
1527
 Lost of Thăng Long
1592
 Surrendered to the Later Lê dynasty
1627
 Lost of Cao Bằng
1677
CurrencyCopper-alloy and iron cash coins
Preceded by
Succeeded by
Primitive Lê dynasty
Revival Lê dynasty

The Mạc dynasty (Vietnamese: Nhà Mạc/triều Mạc; Hán-Nôm: /) (1527–1677), officially Đại Việt (Chữ Hán: 大越), was a Vietnamese dynasty which ruled over a unified Vietnam between 1527 and 1540, and northern Vietnam from 1540 until 1593. The Mạc dynasty lost control over the capital Đông Kinh (modern Hanoi) for the last time in its wars against the Later Lê dynasty and the Trịnh Lords in 1592. Subsequent members of the Mạc dynasty ruled over the province of Cao Bằng with the direct support of the Chinese Ming and Qing dynasties until 1677 (with members of the Mạc dynasty accepted as officials of the Later Lê dynasty from 1627).