Complex sentence: Prior to World War I, Marine Officers primarily came from the Naval Academy, or were commissioned from the enlisted ranks, but as the Marine Corps expanded it needed its own training pipeline for officers.
Split into simpler sentences: Prior to World War I, Marine officers came primarily from the Naval Academy, or were commissioned from the enlisted ranks. But as the Marine Corps expanded, it needed its own training pipeline for officers.