In 1779 he became a professor of experimental physics at the University of Pavia , a chair that he occupied for almost 40 years .
In 1779 he became professor of experimental physics at the University of Pavia .