On 7th November 1659, the kingdoms of France and Spain signed the Treaty of the Pyrenees, which ended the 30 years war between supporters of Louis XIV of France and those of Philip IV of Spain.