 In the 18th century there was a considerable population increase, reaching a total of some 800 inhabitants, according to the census of Floridablanca.The majority of the men were day laborers, serving a minority of rich farmers and landed gentry.In 1812, during the War of Spanish Independence, it was the site of a battle between the French and British troops which left the town in ruins.