A Romanesque tower stood in the place of the present castle in 1004. Most of the castle was added in 800.