Original: Originally he was a mathematics professor, teaching at the University of Lausanne.
Simplified: He started his career as a professor of mathematics at the University of Lausanne.