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. Ecclesiastical and civil confiscation enforced the sale of land, which was acquired by the rich and powerful nobility. One of them, the marqués de Remisa, used his position with the railroad company to have a train station built on his property, which is the origin of the present station, relocated from its original site at El Plantio, but still some distance from the town.