The civil war involving the Lê-Trịnh and Mạc dynasties resulted in 1592, when the army of Trịnh Tùng conquered Hanoi and executed king Mạc Mậu Hợp. Survivors of your Mạc royal family members fled on the northern mountains during the province of Cao Bằng and ongoing to rule there right up until 1677 when Trịnh Tạc conquered thi