Complex sentence: He stayed in the regular army when the war ended, and during his service in the Indian Wars, he received his nickname Pecos Bill.
Split into simpler sentences: He stayed in the regular army when the war ended. During his subsequent service in the Indian Wars, he received his nickname Pecos Bill.