The first documented mention of the castle was as Regensburg property in 1327. In 1355, Leutold II of Kuenring, the first known owner, died. The Kuenringers were a significant Austrian noble family, named after their seat Kühnring. Leutold's successors, Andre of Lichtenstein and Friedrich of Wallsee, renounced ownership for money, and Eberhard I of Kapellen acquired it in 1359. Subsequent owners included Ernst Preuhofer, the Liechtensteins, Chunrad the Steward, the Öders, Reinprecht V of Walsee, the Hausers, and Christof Zeller of Riedau, who were known as robber barons.
Georg von Wolframsdorf inherited it and around 1530, it passed to the Tannberg family, who sold it to Hans von Tschernembl in 1575. His son, Baron Georg Erasmus von Tschernembl, expanded it in 1608 with Antonio Canevale's design. As a Protestant leader, Georg left the country, and the castle was confiscated in 1620, bought by Count Leonhard Helfried von Meggau. During the Upper Austrian Peasants' War in 1626, the castle was briefly occupied. Later, it belonged to the Starhembergers, Kuefsteiners, and Thurnheim Counts, until 1899, when Baroness Therese von Schwitter owned it. In 1911, Count Alexander Hoyos acquired it, and it remains with his family. Archduchess Alicia, the last Grand Duchess of Tuscany, died there in 1935. After WWII, the Soviets renovated the Chinese Salon.
The castle, located north of Schwertberg where the Aist river exits the Josefstal valley, appears fortified with a design from 1608. Surrounded by the Aist on three sides, it has a Renaissance garden, one of the few of its kind in Austria, and a sundial on a round tower. The main building, partly Gothic and partly Renaissance, features arcades, a falcon kennel, and a chapel dedicated to Saint Mary. The Chinese Salon has wall paintings and a small Rococo library.
Visby Cathedral (also known as St. Mary’s Church) is the only survived medieval church in Visby. It was originally built for German merchants and inaugurated in 1225. Around the year 1350 the church was enlarged and converted into a basilica. The two-storey magazine was also added then above the nave as a warehouse for merchants.
Following the Reformation, the church was transformed into a parish church for the town of Visby. All other churches were abandoned. Shortly after the Reformation, in 1572, Gotland was made into its own Diocese, and the church designated its cathedral.
There is not much left of the original interior. The font is made of local red marble in the 13th century. The pulpit was made in Lübeck in 1684. There are 400 graves under the church floor.