 On 8 April 1867, he was made a canon of the cathedral chapter of Mainz Cathedral, given charge of educational matters, and appointed lecturer in pedagogy and catechetics at the episcopal seminary - a position he held until the seminary was closed during the Kulturkampf in 1878.He died in Mainz on 24 August 1889.Ohler's chief work is "Lehrbuch der Erziehung und des Unterrichtes" (Mainz, 1861; 10th ed., 1884).