During the Swedish invasion in the Thirty Years War the revenues of the university became less regular, some of its professors were imprisoned, its students scattered, and the lectures discontinued. But after peace had been concluded the institution gradually recovered, and in 1688 a fine building for university lectures was erected under Bishop John Christopher von Freyberg.
