In 1826, German poet and patriot Wilhelm Hauff published his book Lichtenstein, in which the castle, the book's namesake, played a major role.[11][12] Hauff's novel was inspired by the historical romances of Walter Scott, some of which Hauff reviewed and wrote a parody about.[13] King Frederick's cousin, Count (later Duke) Wilhelm von Urach, a German patriot, who was very interested in medieval history, art, and architecture, was so inspired by the book that he purchased the estate – at that time merely another crumbling ruin in the Swabian Jura – from the king in 1837,[4] after negotiations for the purchase with the resident groundskeeper Philipp Freiherr von Hügel and his successor.[14]