At the beginning of the Catalan Revolt war the town had 1200 houses, but reduced to 800 by the end of the war. On 16 December 1640 was declared an enemy of the fatherland by the Parliament and confiscated the goods of the inhabitants, as a response to the inactive participation in the war. In 1641 it was occupied by the French general La Mothe.