For many decades the school was popular amongst the cultured Jewish bourgeoisie. In 1900, around 70% of the students were Jewish, whereas in 1938 there were only around 50% Jewish students. The Anschluss to the Third Reich put an end to this in 1938 and the school was relocated. Instead, the Gau administration of the Reichsgau Niederdonau used the school building as its headquarters. In the meanwhile, the Wasagymnasium used the school building of the Schottengymnasium, which was shut down by the Nazis, from 1938 until 1945.