The civil war concerning the Lê-Tr?nh and M?c dynasties ended in 1592, when the army of Tr?nh Tùng conquered Hanoi and executed king M?c M?u H?p. Survivors of the M?c royal spouse and children fled to the northern mountains from the province of Cao B?ng and ongoing to rule there until 1677 when Tr?nh T?c conquered this previous M?c territory. The