
In early May, Confederate General Robert E. Lee's Army of Northern Virginia defeated and humiliated Major General Joseph Hooker's army at the Battle of Chancellorsville. While both armies reorganized in the wake of Chancellorsville's massive losses, Lee then maintained the initiative and launched an invasion of Pennsylvania.