In 1360, under the Treaty of Brétigny, the town was given to the English; they were expelled by the inhabitants in 1414. In 1560 the bishops became Protestants; ten years later it became one of the four Huguenot strongholds under the Peace of Saint-Germain, and formed a small independent republic.