In 1986, Portugal and Spain both _____.

A) gained independence from the Moors
B) signed a treaty dividing Latin America
C) joined the European Union
D) granted independence to their colonies