Wynegg castle was built in the 13th century for the Wynegg family. The first known member of the family, Ludwig von Wynegg, appears in a record in 1254. The family last appears in 1270 when Ulrich von Wynegg was mentioned. The family probably served the Bishop of Chur or the Freiherr von Vaz. After the family died out, the castle and lands were inherited by Vaz family, though the Bishop also claimed that he owned the castle. At first Johann von Vaz appeared to accept the bishop's claim, but in 1299 he went to court to prove that it was legally his fief.
Even after the extinction of the Vaz family in 1337/38 the ownership of the castle remained murky. On 6 December 1338 Count Ulrich von Montfort swore that he would return the castle to his uncle Friedrich V von Toggenburg. It is unclear why this was necessary since Friedrich should have inherited the castle through his wife, Kunigunde von Vaz. Then, on 11 December 1338 Friedrich received the castle as a fief under the authority of the Bishop of Chur. Over the following decades the Toggenburg counts held the castle, along with Schanfigg and Davos, for the bishops. In 1421 Frederick VII and the bishop quarreled and the bishop withdrew the fief. However, following arbitration through the city of Zurich, Wynegg was returned to the count. In 1436 the last Count of Toggenburg died and the estate reverted to the bishop. In 1441 it was granted to the Junker Heinrich Amsler after which it disappears from the records until 1548 when it was described as a ruin.
Around 1600 the ruin was acquired by Andreas von Salis, who built a new three-story patrician style home in the ruins. In 1602 it was inherited by the Guler von Davos family through the marriage of his daughter Margaretha. They expanded the house and by 1624 were calling themselves Guler von Wynegg. For nearly two centuries it was a country estate for the family, but around the end of the 18th century it was abandoned and allowed to decay. In 1793 the municipality of Malans purchased the abandoned castle for 2,200 gulden.
The ruins of Wynegg castle stand on a rocky outcropping north of Malans. Due to the 17th century construction, very little of the original castle still remains. Part of the old ring wall, which was up to 2.5 meters, and traces of the three-story palas can still be seen. On the east side, toward the mountain, a natural depression was deepened into a defensive ditch.
References:Celje Castle was once the largest fortification on Slovenian territory. The first fortified building on the site (a Romanesque palace) was built in the first half of the 13th century by the Counts of Heunburg from Carinthia on the stony outcrop on the western side of the ridge where the castle stands. It had five sides, or four plus the southern side, which was a natural defence. The first written records of the castle date back to between 1125 and 1137; it was probably built by Count Gunter. In the western section of the castle, there was a building with several floors. Remains of the walls of this palatium have survived. In the eastern section, there was an enclosed courtyard with large water reservoirs. The eastern wall, which protects the castle from its most exposed side, was around three metres thicker than the rest of the curtain wall. The wall was topped with a parapet and protected walkway.