The Overland Campaign was a Union offensive in eastern Virginia from May 4 to June 24, 1864, led by Ulysses S. Grant against Robert E. Lee and the Army of Northern Virginia. Despite costly battles at the Wilderness, Spotsylvania Court House, North Anna, and Cold Harbor, Grant refused to retreat and continued advancing. The campaign ended when Grant shifted his operations toward Petersburg and Richmond.