"Henry Harrison Walker resigned from the U.S. Army on May 3, 1861. He had already been appointed a captain in the infantry of the Army of the Confederate States (the regular army of the Confederate States) on March 16, 1861 or, according to other versions, was appointed to this position soon after his resignation from the U.S. Army.In November 1861, Walker was promoted to lieutenant colonel of the 40th Virginia Volunteer Infantry Regiment. He was promoted to colonel of the regiment in June 1862 and led the men in the Seven Days Battles. On June 27, 1862, he was wounded twice at the Battle of Gaines Mill. He was assigned to command of a convalescent camp and then to the Defenses of Richmond, Virginia between September 1862 and July 1, 1863. During the Gettysburg campaign, Walker armed hundreds of the convalescents and helped guard Richmond while almost all healthy troops were on the campaign.On July 1, 1863, Walker was promoted to brigadier general and after the Gettysburg campaign was assigned to Major General Henry Heth's division of III Corps of the Army of Northern Virginia, initially commanding Heth's former brigade, then Brigadier General James J. Archer's brigade as well, after Archer's grievous wounding. Walker served as a brigade commander under Heth until he lost his left foot in the Battle of Spotsylvania Court House on May 10, 1864. He participated in the Battle of Bristoe Station on October 14, 1863, in the Battle of Mine Run and, after serving in the Shenandoah Valley during the winter of 1864–1864, at the Battle of the Wilderness before his wounding at Spotsylvania Court House.Walker served on court martial duty in the Department of Richmond from November 7, 1864. He was assigned to the defense of the Richmond and Danville Railroad during the Siege of Petersburg from February 1865 to the evacuation of Richmond on the night of April 2, 1865 after the fall of the defenses of Petersburg, Virginia at the Battle of Five Forks and the Third Battle of Petersburg. He was reported to have brought the news of the surrender of General Robert E. Lee and the Army of Northern Virginia at Appomattox Court House on April 9, 1865 to Confederate President Jefferson Davis at Danville, Virginia. Davis ordered Walker to take the Confederate troops at Danville to join the force of General Joseph E. Johnston in North Carolina but Walker apparently did not comply with the futile order or was unable to comply with it before Johnston surrendered to Union Major General William Tecumseh Sherman on April 18, 1865 (officially April 26, 1865). Walker was paroled at Richmond, Virginia on May 7, 1865."