 After these events, Gascons, who had played a leading role in the political and economic life of the town since its foundation, began to be excluded from influential public positions by means of a string of regional sentences upheld by royal decision (regional diets of Zestoa 1527, Hondarribia 1557, Bergara 1558, Tolosa 1604 and Deba 1662).Meanwhile, the climate of war and disease left the town in a poor condition that drove many fishermen and traders to take to the sea as corsairs as a way of getting a living, most of the times under the auspices of the king Philip II of Spain, who benefited from the disruption caused to and wealth obtained from the French and Dutch trade ships.In 1660, the city was used as the royal headquarters during the marriage of the Infanta to Louis XIV at Saint-Jean-de-Luz nearby.