Complex sentence: He served in the Spanish-American War, and was later in the Judge Advocate General's Department from 1917 to 1919 and 1921 to 1934.
Split into simpler sentences: He served in the Spanish-American War. He was in the Judge Advocate General's Department from 1917 to 1919 and 1921 to 1934.