Due to previous attempts of control of Vietnamese territory by the Chinese, Northern Vietnam remained suspicious of further attempts from China in the future. However, during the Vietnam War, Northern Vietnam, which had a socialist background, was aided by the People's Republic of China. On the other hand, Southern Vietnam was aided by the United States.
During the war, which lasted from 1954 until 1975, Northern Vietnam and China agreed to put all their territorial disputes into a halt.