From September 1861 until July 1862, Union Major General Ambrose Burnside, commander of the Department of North Carolina, formed the North Carolina Expeditionary Corps and set about capturing key ports and cities. His successes at the Battle of Roanoke Island and the Battle of New Bern helped cement Federal control of a part of coastal Carolina.