In April 1799, the Austrians placed a military blockade around Mantua as part of the War of the Second Coalition with the intent of withering the French by attrition.
While the diminishing food supplies and losses weakened the French army, the Austrians received reinforcements and attacked on 4 July 1799.
[1] It was commanded by viscount lieutenant general François Philippe de Latour-Foissac [fr] and garrisoned by a diverse force of 10,000, including French, Polish (Polish Legionnaires under general Józef Wielhorski), Italian (Republic of Alba and Cisalpine Republic), Swiss and German units.
At first, the Austrians were content to simply blockade the fortress, but with the artillery duels and occasional skirmishes, attrition began taking its toll on the defenders.
[2] The Austrians agreed to release most of the French garrison, keeping the officers for three months, and with soldiers pledging not to take arms until the prisoners were exchanged by the fighting sides.