In 1986, Portugal and Spain both _____.

gained independence from the Moors
signed a treaty dividing Latin America
joined the European Union
granted independence to their colonies