During the Seven Years' War the French army used the former abbey church as a supply and food depot. In 1761, the French burnt the church and the monastery buildings down to destroy their supplies during their retreat, thus destroying one of the largest churches in Germany, and in 1807, the town was almost utterly destroyed by Napoleonic occupation troops, but was spared when it turned out that Baden Lieutenant Colonel Johann Baptist Lingg von Linggenfeld would only carry out Napoleon's orders "literally": he was supposed to set fire to the town on all four sides, and this he did by having four buildings, each standing away from others, set on fire.