Complex sentence: Over the course of the war he received a total of two promotions: to First Lieutenant in 1915 and in 1918 to the rank of Captain.
Split into simpler sentences: Over the course of the war he received two promotions. One in 1915 to the rank of First Lieutenant and the second towards the end of the war in 1918 to the rank of Captain.