He took part in the engagement at Monterey. He commanded his company in engagements at Franklin, Battle of McDowell and Shaw's Ridge, Strasburg, Battle of Cross Keys, Battle of Cedar Mountain, Battle of Rappahannock Station I (Freeman's Ford, Sulphur Springs, and Waterloo Bridge), Second Battle of Bull Run, Battle of Aldie and Battle of Chancellorsville in Virginia. He was taken prisoner at the battle of Chancellorsville and confined in the notorious Libby Prison until exchanged. He again commanded his company in the battles of Battle of Fort Wagner, Morris Island, Fort Gregg and in the siege of Fort Sumter in South Carolina and engagements at Camp Baldwin and Battle of Gainesville in Florida. He was mustered out in 1865. On April 25, 1865, he married Mary M. Campbell, the daughter of an Ohio state senator.