The Franco-Spanish War broke out in 1635, when French king Louis XIII felt threatened that his entire kingdom was bordered by Habsburg territories, including Spain. In 1659, the Treaty of the Pyrenees ended the war and ceded the Spanish-possessed Catalan county of Roussillon to France, which had supported the Principality of Catalonia in a revolt against the Spanish crown. Western Flanders, roughly equivalent to the modern French department of Nord, was also ceded. An anomaly of the treaty was that although all villages in Roussillon were ceded to France, Llívia was deemed to be a city and was therefore retained by Spain to the present day as an exclave into France. The treaty was signed on Pheasant Island, an uninhabited, unserviced island in the Bidasoa river between the French commune of Hendaye and the Spanish municipality of Irun. Both settlements, and therefore their countries, took sovereignty of the island for six months out of each year. After Philip IV of Spain defeat, Marie-Thérèse of Austria, Infant of Spain, was married to the king of France Louis XIV.
