Guerre des faucheurs
The fifteen-month siege eventually ended with a Spanish victory, and the effective defeat of the Catalan Revolt which had lasted since 1640. Although French troops remained in parts of Catalonia for another seven years, no serious fighting took place, and in 1659 the Treaty of the Pyrenees was signed bringing a formal end to the conflict.