During the Thirty Years' War which followed the Reformation, the abbey was pillaged and almost entirely abandoned. The library however escaped destruction, and under the abbots Matthew and Gebhard Horger the old régime was restored. Abbot Theobald II repaired the injuries sustained during the wars of the Spanish and Austrian Successions.