The siege of Figueras, which lasted from 10 April to 19 August 1811, saw the Spanish garrison of Sant Ferran Castle (San Fernando Fortress) led by Brigadier General Juan Antonio MartÃnez defend against an Imperial French force commanded by Marshal Jacques MacDonald and his deputy Louis Baraguey d'Hilliers. MartÃnez and his men held out much longer than expected but were eventually starved into surrendering the fortress, which was near Figueres. The action occurred during the Peninsular War, part of the Napoleonic Wars.