Complex sentence: When the war began, he was commissioned a first lieutenant, and over the next few years, he fought in Beaufort, Port Royal, Fort Walker and Fort Pulaski.
Split into simpler sentences: When the war began, he was commissioned as a first lieutenant. Over the next few years, he fought in Beaufort, Port Royal, Fort Walker and Fort Pulaski.