Spain became a member of the European Economic Community ( now called European Union , or EU ) in 1986 , hastening the country 's modernization .
Spain has been a member of the European Union since the 1980s .