A teacher's ups and downs from 1858 to 1879