Medieval border castle which became the property of Bavaria as a result of Napoleonic Wars. Once the residence of the Salzburg bishops.