The Soviet invasion of Afghanistan brought a significant change in Carter's foreign policy and ended the period of detente that had begun in the mid-1960s. Returning to a policy of containment, the United States reconciled with Cold War allies and increased the defense budget, leading to a new arms race with the Soviet Union. U.S. support for the mujahideen in Afghanistan would continue until the Soviet Union withdrew from Afghanistan in 1989.