 Premise is: It has served as a fortress for the Gallo-Romans, the Visigoths, Franks, and medieval French (you can see the layers of their masonry in the ramparts).
Hypothesis is: The fortress was built by the medieval French in 1173.