In 1425, the castle defences were strengthened and, in 1437, when the House of Sponheim became extinct on the death of John V, it was transferred by inheritance treaty into the possession of the margraves of Baden.
Until 1637 the ruined castle belonged to the lords of Fleckenstein.