Recent research - in the last ten years - has identified that the castle was attacked (besieged) 26 times in the course of its 1,100 year history. This meant it was almost constantly being attacked, destroyed and rebuilt. And at one point - in the 14th century - the castle was intentionally destroyed by Edward The Bruce after he had recaptured it, to prevent further attacks from happening on the same spot.