Hohengeroldseck was a state of the Holy Roman Empire. It was founded by the House of Geroldseck, a German noble family which arrived in the Ortenau region of Swabia reputedly in 948, though the first mention of the family is documented in the 1080s. The family line went extinct in 1634 and was succeeded by the Kronberg and Leyen families. In 1806, the county was raised to a Principality and adopted the family name of Leyen. Late in 1813, the Principality was mediatized by Austria and its name reverted to Hohengeroldseck, but the history of the state ended when Austria ceded it to the Grand Duchy of Baden in 1819 and it merged with the district of Lahr in 1831.