In 1933, the Nazi regime passed a law[1] banning anyone they considered Jewish from holding any civil service job, including positions at universities. A large proportion of German academia was considered Jewish.
[1] - https://en.wikipedia.org/wiki/Law_for_the_Restoration_of_the...