The St. Mary Magdalene's Church, dating from the middle of the 13th century, originally served as the parish church for the Hungarian citizens of the town (the Mátyás Church was for the use of the town’s German citizens). During the 14th and 15th centuries it was enlarged several times. During the first-half of the Turkish occupation it remained the only Christian church in the Castle; during the second-half it was converted into a mosque. Following the defeat of the Turks in 1686 it was given back to the Franciscan Order, who demolished most of the church except for the tower, and used the stones to build a new single-nave church, in the Baroque style. As a result of the damage sustained by the church during the 2nd World War, the nave was demolished and only the Gothic style tower was restored. The ruins behind the church have been used to form an exhibition of the history of the church. In 1792 Emperor Francis I, King of Hungary, was crowned in the church.
References:The Pilgrimage Church of Wies (Wieskirche) is an oval rococo church, designed in the late 1740s by Dominikus Zimmermann. It is located in the foothills of the Alps in the municipality of Steingaden.
The sanctuary of Wies is a pilgrimage church extraordinarily well-preserved in the beautiful setting of an Alpine valley, and is a perfect masterpiece of Rococo art and creative genius, as well as an exceptional testimony to a civilization that has disappeared.
The hamlet of Wies, in 1738, is said to have been the setting of a miracle in which tears were seen on a simple wooden figure of Christ mounted on a column that was no longer venerated by the Premonstratensian monks of the Abbey. A wooden chapel constructed in the fields housed the miraculous statue for some time. However, pilgrims from Germany, Austria, Bohemia, and even Italy became so numerous that the Abbot of the Premonstratensians of Steingaden decided to construct a splendid sanctuary.