Border fortress founded in the 11th century; later a royal castle; rebuilt as a Baroque castle; since 1910 it has served as a museum