He studied history and theology at the Universities of Zurich, Jena, Halle and Berlin, earning his doctorate in 1836 at Jena. In 1839 he received his habilitation at Basel, where he was a lecturer of literary history.