The Treaty of the Pyrenees formalized a peace concluded between the Spanish crown and France at the end of the Franco-Spanish war, begun in 1635 as part of the Thirty Years War (1618-1648), and continued during the Fronde.