War of Devolution
France fought the War of Devolution against Spain in 1667. France's defeat of Spain and invasion of the Spanish Netherlands alarmed England and Sweden. With the Dutch Republic they formed the Triple Alliance to check Louis XIV's expansion. Louis II de Bourbon had captured Franche-Comté, but in face of an indefensible position, Louis XIV agreed to the peace of Aachen. Under its terms, Louis XIV did not annex Franche-Comté but did gain Lille.