His career at university was broad almost to the point of being eccentric. He studied law at the Ruprecht Karl University of Heidelberg, and biology at what is today Humboldt University of Berlin, the Friedrich Schiller University of Jena, and the University of Würzburg. It was at this last university that he attended lectures by Rudolf Virchow and developed an interest in what was then known as 'ethnology'. He finally settled on medicine and earned a degree from Prague in 1850.