After serving briefly as professor of physics at Dijon Lycée in 1848, he became professor of chemistry at the University of Strasbourg, where he met and courted Marie Laurent, daughter of the university's rector, in 1849.