Peyrepertuse castle is one of the Cathar castles. It was built before the 11th century. It is Aude, in Occitanie. It is built in a strategic position, on a cliff, about 30-40m high. The castle is first mentioned in the year 806, but the site seems to have been occupied since Roman times. At that time, it belonged to a Catalan count. It later changed hands, first to the Count of Barcelona, then to that of Narbonne.