 On the 6 May 1809 a French army of 18,000 men besieged the town.Álvarez had only 5,600 men under arms.The French mounted 40 gun batteries that over the next seven months fired some 20,000 explosive shells and 60,000 cannonballs into the city.