Complex sentence: Confederate forces commanded by John B. Magruder expelled them from the island, and the Confederates controlled it for the remainder of the war.
Split into simpler sentences: Confederate forces commanded by John B. Magruder expelled them from the island. The island remained in Confederates hands for the remainder of the war.