When was the Treaty of the Pyrenees?