The present ruins date from the 13th to the 16th centuries, though built on the site of an early medieval fortification.