During the Cold War France fashioned its foreign policy first in con-junction with, and then in opposition to, the United States. In the immediate post-war era the French diverted American monies intended for economic growth and military defence against the USSR to colonial struggles in Indochina and Algeria. In the 1960s, France dissented from American policy in Vietnam, withdrew from NATO's integrated com-mand, and pursued its own agenda in the hope of achieving détente. This policy foundered due to the May 1968 upheaval, but it was picked up by Willie Brandt's Ostpolitik and contributed to bringing about the end of the Cold War.