Complex sentence: He served as brigade commander in the Army of the Potomac in 1862, and was transfered to the Western Theater and commanded a division in the Port Hudson campaign.
Split into simpler sentences: He served as a brigade commander in the Army of the Potomac in 1862, and was transferred to the Western Theater. He later commanded a division in the Port Hudson campaign.