after the expulsion of the jesuits in 1773 the building became a cantonment for cadets of the army. from 1783 to 1826, it housed the court library and archives, and then a school of painting and sculpture (hence the designation "academy"). from 1826 to 1840, the ludwig maximilian university had its temporary domicile in the building. after severe destruction during the second world war (1944) it was rebuilt by josef wiedemann to house the "bavarian statistical office".