The castle as it stands today was built in 1068, but settlements on the site date back more than 150 years before this.