With the passing of the amendment to the Swiss Constitution of 1874 banning the recruitment of Swiss citizens by foreign states, such contractual relations ceased. Military alliances had already been banned under the Swiss constitution of 1848, though troops still served abroad when obliged by treaties. One such example were the Swiss regiments serving under Francis II of the Two Sicilies, who defended Gaeta in 1860 during the Italian War of Unification. This marked the end of an era.