 With France's northern border under pressure after Ramillies, Louis XIV needed to end the war in Italy and in March 1707, he agreed the Convention of Milan with Emperor Joseph I.To the fury of Joseph's allies, the French withdrew their remaining garrisons, ceding control of Milan and Mantua to Austria but in return were given free passage to France, allowing them to be redeployed in other theatres.This ended La Feuillade's military career, a combination of defeat and the accusation that he left the siege in a fruitless attempt to capture Victor Amadeus, although he was given the honorary title of Marshal of France in 1724.