 Meanwhile, Nguyễn Kim, a former official in the Lê court, revolted against the Mạc and helped king Lê Trang Tông restore the Lê court in the Thanh Hóa area.Thus a civil war began between the Northern Court (Mạc) and the Southern Court (Restored Lê).Nguyễn Kim's side controlled the southern part of Annam (from Thanhhoa to the south), leaving the north (including Đông Kinh-Hanoi) under Mạc control.