About 6623
The civil war between the Lê-Trịnh and Mạc dynasties led to 1592, when the military of Trịnh Tùng conquered Hanoi and executed king Mạc Mậu Hợp. Survivors of your Mạc royal family fled into the northern mountains during the province of Cao Bằng and ongoing to rule there right until 1677 when Trịnh Tạc conquered this past Mạc