In 1892 Schwarz moved from Göttingen to Berlin to occupy Weierstrass 's chair and Klein wanted to offer Hilbert the vacant Göttingen chair. However Klein failed to persuade his colleagues and Heinrich Weber was appointed to the chair. Klein was probably not too unhappy when Weber moved to a chair at Strasbourg three years later since on this occasion he was successful in his aim of appointing Hilbert. So, in 1895, Hilbert was appointed to the chair of mathematics at the University of Göttingen, where he continued to teach for the rest of his career.
Sa 1892 Schwarz inilipat mula sa Gottingen sa Berlin na maghawak Weierstrass' s silya at Klein pinaghahanap na nag-aalok ng Hilbert ang vacant Gottingen chair. Subalit Klein nabigo sa amuki kanyang mga kasamahan at Heinrich Weber ay hihirangin upang angkinin ang upuan. Klein ay marahil na hindi masyadong nalulungkot kapag Weber inilipat sa isang upuan sa Strasbourg ng tatlong taon mamaya dahil sa pagkakataon na ito siya ay matagumpay sa kanyang mga layunin ng appointing Hilbert. Kaya, sa 1895, Hilbert ay hihirangin upang angkinin ang upuan ng matematika sa University of Gottingen, kung saan siya ay patuloy na magturo para sa natitirang bahagi ng kanyang karera.