The Liebeneck castle ruin is a former chivalrous noble castle from the High Middle Ages, which was probably built in the 12th century during the Staufer period. The castle was used to protect the rafting customs on the river Würm as well as for the surveillance of the nearby passing trade route passing nearby.
It was mentioned for the first time in 1263 as "castrum" in a deed of donation. The lords of Weissenstein signed over the castle and the village of Würm to their liege lord Margrave Rudolf I. of Baden.
The lords Leutrum von Ertingen were the feudal lords between 1453 and 1828 the feudal lords of the castle, the village and the estate of Haidach.
In 1692, during the Palatinate War of Succession, the castle was restored restored after a fire damage. In 1829 the castle, which had been abandoned in the meantime, was destroyed in order to make it uninhabitable and thus prevent "predatory riffraff".
Between 1968 and 1977, extensive restoration and renovation work took place.
It consists of a five-sided ring wall, a 29.5m high keep a former palace, as well as a fortification wall with a neck ditch and further outworks.