Complex sentence: He spent several years in Germany, Denmark and Iceland; when World War I broke out he served two years in the United States Army and was discharged with the rank of Captain.
Split into simpler sentences: He spent several years in Germany, Denmark and Iceland. When World War I broke out he served two years in the United States Army and was discharged with the rank of Captain.