Invaded by Spain in April 1793, the area was recaptured thirteen months later during the War of the Roussillon.