 Henry IV ordered the destruction of the castle in the early 17th century and, although it was still partly inhabited in 1627, it fell into disuse not long afterwards.The old part of the town is centred on the remains of the castle dating from the 13th century, including the church, a well-restored keep (donjon), towers, gateways and the parts of the ramparts, some of which have been incorporated into houses.Extending down the hill is the 14th/15th century area, also originally walled.