 In the late 12th and 13th centuries, a local noble family developed, the Lords of Ilsfeld, who were ministeriales of the Margraves of Baden; either they or relatives of theirs were responsible for building a castle near Ilsfeld on the Wunnenstein.In 1368 Ilsfeld became the property of Württemberg; by about 1460 it had become a fief of the Vogt or reeve of Lauffen am Neckar.It was a border territory; to the north, Talheim had become the property of the Teutonic Knights, and beyond that lay for example Flein, which belonged to the Imperial City of Heilbronn, Stettenfels Castle, property of the Electorate of the Palatinate, and the County of Löwenstein.