He served in the Union Army during the Civil War, becoming colonel of the 2nd Wisconsin Volunteer Cavalry, on February 6, 1862; brigadier general of Volunteers on July 16, 1862; and major general on November 29, 1862.