The civil war involving 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 the Mạc royal household fled to the northern mountains within the province of Cao Bằng and ongoing to rule there until 1677 https://erino418agm2.celticwiki.com/user