What was William Herschel trained in?

music and astronomy