Although President Lincoln had replaced Major General Joseph Hooker after the Battle of Chancellorsville, his departure from the Army of the Potomac was not the end of his military operations in the US Civil War. In 1864, Hooker found himself in General Sherman's Atlanta campaign. Hooker then was the XX Corps commander reporting to General Thomas in the Army of the Cumberland. He is noted in the Battle of New Hope Church. On May 25, 1864, he was ordered to test the Confederate defenses at New Hope Church. His attempted assaults there against Confederate entrenchments met with failure. At this juncture of Sherman's Atlanta campaign, the Union armies were temporarily stymied.