In 1672, one last effort was made to break the walls of the Nguyễn.
The Mạc invaded northern Vietnam from their new base in southern China in 1677 but this invasion was defeated by the Royal (Trịnh) army.