 His father was a farmer and the city treasurer.Academically brilliant, he always topped his classes and was fluent in German, Latin, Greek, Hebrew, English, Arabic, French, Italian, and Dutch.He progressed to the gymnasium in Köslin (now Koszalin in Poland) in 1835 with the goal of becoming a pastor.