 Until German mediatization, the town of Stein was ruled by both the Margraviate of Baden and the .After meditization, it was assigned to the "Amt" of Königsbach on 24 July 1813.On 25 May 1821, Stein was assigned to and Königsbach to .