In 1357 the von Lichtenbergs sold the castle, and the related rule, including the town, to Eberhard II, Count of Württemberg.