Kingdom of Spain became a member of the European Community in 1986. In November 1993 the European Community transformed itself into the European Union. Spain's Accession Treaty is available here.