he was minister of foreign affairs in spain