 The main building of the castle was a tower that dominated the south gate and the surrounding plain.Throughout the Middle Ages, the bishops appointed two officers, the castellan and the mayor to rule the town.Throughout the 13th to 15th centuries, the noble de Bulle family held the office of mayor.