While traces of activities dating back to the Bronze Age such as dolmens and oppidums can be seen in the nearby forest La Grésigne, the village was founded as an albigensian bastide in 1222 by Raymond VII, count of Toulouse, under the name "Castellum Novum Montis Mirabilis".
During the subsequent years, the village remained an impressive stronghold.