Treaty of the Pyrenees
The town, along with other Vallespir municipalities of Roussillon was separated from the rest of Catalonia, and therefore from Spain, by the Treaty of the Pyrenees (1659), which France got from Spain part of Catalonia.