Under the terms of the Treaty of the Pyrenees, Spain ceded much of French Flanders, and Vauban was put in charge of fortifying newly acquired towns such as Dunkirk. This pattern of French territorial gains, followed by fortification of new strongpoints, was followed in the 1667–1668 War of Devolution, 1672–1678 Franco-Dutch War and 1683-1684 War of the Reunions. In the course of his career, Vauban supervised or designed the building of more than 300 separate fortifications, and by his own estimate, supervised more than 40 sieges from 1653 to 1697.