 The importance of the institute declined in 1795 after Austria annexed the Polish city of Krakow, which had an ancient and well-established university.Both schools were merged in 1805, and Lviv lost its status as a university city.However, this short period produced a great deal of intellectual activity such as the work of Johann Wenzel Hann, who from 1792 was a University Rector, eminent lecturer, poet and translator of Polish poetry into German after learning Polish himself.