In 1864, Sherman succeeded Grant as the Union commander in the Western Theater. He led the capture of the strategic city of Atlanta, a military success that contributed to the re-election of President Abraham Lincoln. Sherman's subsequent march through Georgia and the Carolinas involved little fighting but large-scale destruction of cotton plantations and other infrastructure, a systematic policy intended to undermine the ability and willingness of the Confederacy to continue fighting. Sherman accepted the surrender of all the Confederate armies in the Carolinas, Georgia, and Florida in April 1865, but the terms that he negotiated were considered too lenient by US Secretary of War Edwin Stanton, who ordered General Grant to modify them.