 When, in 1243, Albert II, the last of the Gumbach family died, town and castle came to the Counts of Rieneck.Ludwig III of Rieneck had married Albert's daughter.However, a document from 1150 stated that the castle should return to Neustadt Abbey in such a case.