The first mention of Wernberg Castle dates to 1280 when Konrad of Paulsdorfer bought the building. By the following year, Burg Wernberg was the family seat of the noble Notthafft family under the Landgrave of Leuchtenberg. By 1647 Wernberg came into the possession of the Electorate of Bavaria. During the Austrian War of Succession, the castle was used as a military camp.
In the 19th century, the castle was used for not-so-glamorous purposes. In 1804, it served as a prison, in 1861 as a rescue institution for fallen women and neglected girls. By 1873, serious consideration was given into just demolishing the building, but that idea never went anywhere.
The town of Wernberg acquired the castle in 1992 and rented it to the Conrad family for a term of 99 years. By 1998, the castle opened its doors as a hotel, becoming one of the top 100 best hotels in Germany in the same year.
References:Linderhof is the smallest of the three palaces built by King Ludwig II of Bavaria and the only one which he lived to see completed.
Ludwig II, who was crowned king in 1864, began his building activities in 1867-1868 by redesigning his rooms in the Munich Residenz and laying the foundation stone of Neuschwanstein Castle. In 1868 he was already making his first plans for Linderhof. However, neither the palace modelled on Versailles that was to be sited on the floor of the valley nor the large Byzantine palace envisaged by Ludwig II were ever built.
Instead, the new building developed around the forester's house belonging to his father Maximilian II, which was located in the open space in front of the present palace and was used by the king when crown prince on hunting expeditions with his father.