in the 1667-1668 war of devolution, france captured most of the spanish netherlands and the spanish province of franche-comté but many of their gains were relinquished by the treaty of aix-la-chapelle, agreed with the triple alliance of the dutch republic, england and sweden. to split the alliance, louis xiv paid sweden to remain neutral, while signing an alliance with england against the dutch in the 1670 treaty of dover.