With the end of the war, the Swiss troops were no longer bound along the Rhine and in the Grisons. The cantons concluded new mercenary contracts, so called capitulations, with the Duchy of Milan and soon got deeply involved in the Italian Wars, where Swiss mercenaries ended up fighting on both sides. The involvement of the Old Swiss Confederacy, acting in its own interests in these wars, was brought to an end by the defeat against French forces in the battle of Marignano in 1515 and a subsequent peace treaty with the French king in 1516, the so-called Eternal Peace. However, Swiss mercenaries from individual cantons of the federation continued to participate in the Italian Wars well beyond (until the middle of the 16th century) in the service of various parties and, following that peace with France, in particular in the service of the French king.