As the time approached in 1987 for the renegotiation of the existing base agreement, which had entered into force in 1983 for a five-year period, pressures mounted for a reduction of the United States military presence in Spain. Communist political groups and elements of the PSOE had campaigned against the bases. Moreover, the base agreement had become a symbol of United States cooperation with the former Spanish State. It was important to many Spaniards to eliminate vestiges of this history by converting Spain's long-standing bilateral relations with the United States into a multilateral undertaking through NATO. The outcome of the 1986 referendum on membership in NATO committed the Spanish government to negotiate the reduction of the United States military presence in Spain. Spain insisted that the F-16 aircraft be removed from Torrejon as a condition for renewal of the base agreement, and the Spanish government threatened to expel all United States forces in Spain if this demand were not accepted. The United States felt that the Spanish military contribution was minimal and the Spanish government was permitting domestic factors to dictate a weakening of NATO defenses. Even though Italy subsequently agreed to station the F-16 wing at Aviano Air Base, the cost of transfer would be high, and the unit would be in a more exposed position to Warsaw Pact forces. In January 1988, Spain and the United States announced jointly that agreement had been reached in principle on a new base agreement with an initial term of eight years, essentially meeting the conditions demanded by Spain. The F-16s were to be removed from Torrejon within three years, by mid-1991. It was expected that this step would reduce the number of United States personnel in Spain by nearly one-half. Implementation of this agreement was delayed by the 1990–91 crisis in Kuwait, when the 401st TFW was one of the first American fighter wings to respond, with the 612th TFS deploying to its wartime base at Incirlik Turkey and the 614th TFS becoming the first US military unit to deploy to the Persian Gulf State of Qatar. Both squadrons flew numerous operational missions during Operations Desert Shield and Desert Storm. After the 1991 cease-fire in Iraq, plans proceeded to close Torrejon Air Base. On 28 June, the 613th TFS was inactivated and its aircraft sent to Air National Guard squadrons in the United States. The 612th TFS inactivated on 1 October, and the 614th TFS on 1 January 1992. In accordance with the 1988 agreement, the USAF portion of the base was returned to the Spanish government on 21 May 1996, with the 401st Tactical Fighter Wing being transferred to Aviano Air Base, Italy without personnel or equipment.