The Chancellorsville Campaign was the true high water mark for both the Confederate Army of Northern Virginia and the Union Army of the Potomac. The campaign would be the Confederates' greatest battle, though it came at the cost of losing General Stonewall Jackson. Although the Confederacy prevailed at Chancellorsville, Hooker used the defeat to institute a multitude of reforms, which paved the way for the hard-fought victory at Gettysburg.