Following the display of Harrier operations from small carriers, the navies of Spain and later Thailand bought the Harrier for use as their main carrier-based fixed-wing aircraft. Spain's purchase of Harriers was complicated by long-standing political friction between the British and Spanish governments of the era; even though the Harriers were manufactured in the UK they were sold to Spain with the US acting as an intermediary. During tests in November 1972, the British pilot John Farley showed that the wooden deck of "Daedalus" was able to withstand the temperature of the gases generated by the Harrier. Since 1976, the Spanish Navy operated the AV-8S Matador from their aircraft carrier (formerly the ); the aircraft provided both air defence and strike capabilities for the Spanish fleet. Spain later purchased five Harriers directly from the British government mainly to replace losses.