The former residence of the Archbishop of Dublin, the castle was built over a period of 400 years starting before 1200 AD.