During the war Wright served as an Assistant Adjutant General, Assistant Inspector General, and Provost Marshal for the regiment. As Assistant Engineer on Major General Ambrose Burnside's staff Wright superintended the building of the earthworks of the Ninth Corps at Petersburg, Virginia.