sentence: ordained to the congregational ministry in 1883 , he was a pastor at newark , n. j . , in 1883-85 , and thereafter was president of bowdoin college , also holding the chair of mental and moral philosophy .