Shiloh was the costliest battle in American history to that point and the staggering 23,746 total casualties stunned the nation. Briefly hailed a hero for routing the Confederates, Grant was soon mired in controversy. The Northern press castigated Grant for shockingly high casualties, and accused him of drunkenness during the battle, contrary to the accounts of officers and others with him at the time. Discouraged, Grant considered resigning but Sherman convinced him to stay. Lincoln dismissed Grant's critics, saying "I can't spare this man; he fights." However, Grant's victory at Shiloh ended any chance for the Confederates to prevail in the Mississippi valley or regain its strategic advantage in the West.