The history of the castle