War of the Oranges
The fort resisted Spanish troops during the 1801 War of the Oranges and a later attack in 1811 during the Peninsular War by the troops of Marshall Jean-de-Dieu Soult.