<human>:  When did the French town of Collioure become a part of France?
<bot>: Collioure was a part of Spain until 1659. In that year, the Spanish king, Philip IV, gave it to France as a part of the Treaty of the Pyrenees.