According to tradition, the church was built by Bishop Wolfgang von Regensburg. Bishop Wolfgang of Regensburg came to the Benedictine monastery of Mondsee in 976 and then went on to the area around Abersee (Wolfgangsee). Living as a hermit on the Falkenstein, he decided to build a church. The famous hatchet throw was supposed to decide the location as a divine providence. Wolfgang threw a hoe into the valley from Falkenstein. He vowed to build a church and a hermitage on the spot where it would be erected. After three days of searching he found the ax on a rocky hill; he immediately began building a church. One Sunday, when Wolfgang missed his usual prayer time, he threw himself on the hard rock to repent. The rock, however, became soft and showed the imprints of his hands and feet. Wolfgang came to believe that God had shown him that he was in His grace. This penitential stone is preserved in the area of the church; some pilgrims believe that it is surrounded by so-called positive energy.
Some time after the church was completed, Wolfgang wanted to move to his episcopal see in Regensburg. The church moved from its location and wanted to accompany him. Wolfgang ordered her to stay and remain silent because God wanted it that way (Wikipedia).