Gen. Joseph Hooker initially had seized the advantage at the Battle of Chancellorsville, and he had had an army twice the size of Gen. Lee's Confederates, but having lost his nerves, he had settled into a more defensive posture, and his army eventually was suffering a humiliating defeat.