The current castle was created by Hubert de Burgh in the early 13th century, when the earthworks of the 11th-century Norman castle were flattened and spread out over the current site to a depth of 12 feet ; the 12th-century stone fortifications and buildings were demolished at the same time.