The name of "Army of the Tennessee" was first used in March 1862. It was used for the army commanded by Ulysses S. Grant. The army was commanded by Grant from 1862 until late summer 1863. At that time Grant was promoted to command of all of the Union armies in the Western Theater. Then the Army of the Tennessee was commanded by William T. Sherman. On August 1, 1863 when Sherman was given command of all armies in the west, James B. McPherson took command of the Army of the Tennessee. On July 22, 1864 McPherson was shot and killed by Confederate skirmishers as his army prepared to capture Atlanta. He was temporarily replaced by John A. Logan. General Oliver O. Howard then took command of the Army of the Tennessee.