He was re-appointed after another Imperial defeat at the 1645 Battle of Jankau, then Governor of the Spanish Netherlands in 1647. In that role, he helped negotiate an end to the war in the 1648 Treaty of Westphalia; the Franco-Spanish war continued, obliging him to remain in Brussels until 1656.