The Reconquista of Portugal and Spain led to a series of oceanic explorations resulting in the Age of Discovery that established direct links with Africa, the Americas, and Asia, while religious wars continued to be fought in Europe, which ended in 1648 with the Peace of Westphalia. Between which two nations was the Treaty of the Pyrenees signed