Protection against raids
The reason for the construction of the defense lines was the Nine Years' War, which lasted from 1688 to 1697. Margrave Ludwig Wilhelm von Baden-Baden had the fortification wall built to protect cities and villages against French attempts to plunder and set fire to them. For the construction of the fortification, the margrave used civilians under the threat of drastic punishment, most of whom lived in front of the defense lines. The "entrenchment workers" built the Eppingen lines under compulsory labor between 1695 and 1697.