In 1645, near the end of the Thirty Years' War, a Swedish contingent under Lennart Torstensson conquered Dürnstein. Upon their withdrawal, the troops destroyed parts of the gate system. As of 1662, the castle was no longer inhabited permanently, but was still listed as a possible shelter in the Austro-Turkish War (1663–1664).