 In 1318, the abbey became a bishopric in order to continue the fight against the Cathars; as it stayed until the French revolution.The diocese had eighty Parishes and spanned from Formiguères to Saint-Paul-de-Fenouillet.A wall, with four gates, built in the twelfth century to protect the abbey can still be seen today.