 While France supported Habsburg opponents in the Dutch Revolt and Thirty Years War, it avoided direct involvement until 1635, when it agreed alliances with the Swedes and Dutch.After these ended in the 1648 Peace of Westphalia, fighting continued between Spain and France, with neither able to gain an advantage.The 1657 Anglo-French alliance led to an offensive in Flanders, and victory at the June 1658 Battle of the Dunes.