Conversation so far:
What was Pershings first job?
Troop L of the 6th U.S.
Cavalry stationed at Fort Bayard, in the New Mexico Territory.

Question: How did he get into this job?
Self-contained rewrite: How did John J. Pershing get into Troop L of the 6th U.S. Cavalry stationed at Fort Bayard, in the New Mexico Territory?