In 1864 Ernst Mach took a job as Professor of Mathematics at the University of Graz, having turned down the position of a chair in surgery at the University of Salzburg to do so, and in 1866 he was appointed as Professor of Physics.