Because of secularization in 1848 , the buildings became a school .
With secularization in 1848 , the buildings became a teachers ' school .