Conversation so far:
what did Edward Canby do in the military?
During his early career, Canby served in the Second Seminole War in Florida and saw combat during the Mexican-American War.

Question: What part of the military was he in?
Self-contained rewrite: What part of the military was Edward Canby in?