Militarily, the Union could not follow up its victory at Antietam. McClellan failed to pursue the Confederate army, and President Lincoln finally became tired of his excuses and unwillingness to fight. He was dismissed from command in October and replaced by Ambrose Burnside, despite his pleas that he was not ready for the job. He attempted to invade Richmond from the north (McClellan had tried from the east), but the campaign ended in disaster at Fredericksburg when Burnside ordered waves of futile attacks against an entrenched Confederate position. The next year also proved difficult for the Union initially. Burnside was replaced by General Joseph "Fighting Joe" Hooker in January 1863, but he proved unable to stop Lee and "Stonewall" Jackson at Chancellorsville in May. Lee's second invasion of the North, however, proved disastrous. Hooker was replaced by George Meade, and four days later the Battle of Gettysburg took place. Lee's army lost scores of irreplaceable men and would never be the same again. Abraham Lincoln was angered by George Meade's failure to pursue Lee after Gettysburg, but decided to let him stay in command, a decision endorsed by Ulysses S. Grant who was appointed General-in-Chief of all the Union armies early in 1864.