The castle was built in the 10th century to control the route, and particularly the "pont du Diable" (Devil's Bridge) below the castle which was the sole crossing point of the Ance and subject to a toll.