User: Who was the prime minister of Spain when Spain joined NATO?
Assistant: Spain joined NATO by referendum in 1986. The prime minister of Spain at the time was Felipe Gonzalez.