 Pakistan is represented in Vietnam by its embassy in Hanoi, and Vietnam also maintains an embassy in Islamabad.During the Cold War, Pakistan (a non-aligned nation at the official level) maintained close ties with the United States-led Western Bloc to counter rival India's allegiance with the Soviet Union and Eastern Bloc.Throughout the 1960s and 1970s, the United States was involved in the Vietnam War against Soviet-backed North Vietnam (which emerged the victor of the war and its government superseded that of South Vietnam) while in the same time period, Pakistan had engaged in two major wars with neighbouring India in 1965 and 1971, the latter of which resulted in a devastating defeat for Pakistan and saw the emergence of an independent Bangladesh.