The first historical mention of the castle can be found in the year 907. The Bavarian Sieghart, Count of Sempt and Ebersberg, took possession of "Bösenberg" and fortified it.
In 1241, the area north of the Erlaufzwiesel came into the possession of the diocese of Passau, and on the left bank of the Erlauf in the course of the …