Complex sentence: They served on the Western Front until 1917 when they were transferred to Italy and the battalion ended the war in Austria.
Split into simpler sentences: They served on the Western Front until 1917 when they were transferred to Italy. The battalion ended the war in Austria.