Complex sentence: Ehrmann was a pupil of histopathologist Carl Wedl (1815--1891) at the University of Vienna, and later became director of the dermatological department at Vienna General Hospital.
Split into simpler sentences: Ehrmann was a pupil of histopathologist Carl Wedl (1815--1891) at the University of Vienna. He later became director of the dermatological department at Vienna General Hospital.