The castle was first mentioned in a 22 May 1011 deed of donation issued by Emperor Henry II in favour of the Bishops of Brixen, and it was their residence for eight centuries. Then located in the March of Carniola, it passed to the Austrian House of Habsburg in 1278.