In the aftermath of the invasion, Carter was determined to respond vigorously to what he considered a dangerous provocation. In a televised speech, he announced sanctions on the Soviet Union, promised renewed aid to Pakistan, and committed the U.S. to the Persian Gulf's defense. The thrust of U.S. policy for the duration of the war was determined by Carter in early 1980: Carter initiated a program to arm the mujahideen through Pakistan's ISI and secured a pledge from Saudi Arabia to match U.S. funding for this purpose. U.S. support for the mujahideen accelerated under Carter's successor, Ronald Reagan, at a final cost to U.S. taxpayers of some $3 billion. The Soviets were unable to quell the insurgency and withdrew from Afghanistan in 1989, precipitating the dissolution of the Soviet Union itself.