Friedrich Nietzche began his career as a classical philologist before turning to philosophy. He became the youngest ever to hold the Chair of Classical Philology at the University of Basel in 1869 at the age of 24.
Source: Wikipedia
In 1895 Carl Jung began to study medicine at the University of Basel.
Source: Wikipedia