 The earliest building at this location belonged to the count of Fonnollède since 1021.In the 13th century, the keep that had replaced earlier buildings was bequeathed by the viscounts of Carcassonne to their vassal, the Ternes.In 1210, it was invaded and occupied by Simon de Montfort, whose soldiers took and held the owner Raymond de Termes in a dark dungeon in the Carcassonne.