Complex sentence: He interrupted his teaching profession to enlist in 1917 for service in World War I. After two years of service, he was discharged as a first lieutenant in 1919.
Split into simpler sentences: He interrupted his teaching profession for service in World War I, having enlisted in 1917. After some two years of service, he was discharged as a first lieutenant in 1919.