Beginning in 982 the Sargans region was part of the lands of the Counts of Bregenz. In 1160, the male line of the Counts of Bregenz died out. Count palatine Hugo of Türbingen inherited most of their lands, through his wife Elisabeth. His son, Hugo, inherited the Bregenz lands around Lake Constance, including Sargans. This Hugo, who adopted the name Montfort und Werdenberg built or expanded Sargans Castle before his death in 1228. Excavations around the oldest part of the castle show that there was an earlier fort or castle, but nothing is known about that building. Hugo built the large bergfried, expanded the walls to the west and may have built a palas on that side of the castle.
In the mid-13th century the Montfort und Werdenberg lands were divided between Hugo of Werdenberg-Heiligenberg and his brother Hartmann of Werdenberg-Sargans. Hartmann took up residence in the castle and probably expanded the palas. The castle was first mentioned in 1282. Over the following century the wealth and lands of the Counts of Werdenberg-Sargans were divided over and over again between descendants. By the last 14th century, Count Johann I ruled over a small and poor county under the Habsburgs. In the Battle of Näfels in 1388, the count commanded a wing of the Austrian army that was supposed to cross the Kerenzerberg Pass. However, when he saw the threatened destruction of the main Austrian army, he fled back over the pass. The cost of the war, as well as other expenses forced Johann I to sell the castle and village to Leopold of Austria.
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.