Complex sentence: After the secession of Terra Scania to Sweden at the Treaty of Roskilde 1658, and the foundation of Lund University in 1666 to enhance the Swedification of the Danish provinces, the house was incorporated to serve as the the university's main building and library.
Split into simpler sentences: After the secession of Terra Scania to Sweden at the Treaty of Roskilde 1658, the Lund University was promptly founded in 1666 to enhance the Swedification of the Danish province. The house was incorporated to serve as the the university's main building and library.