Grant had begun a drive to capture Richmond in May 1864. Throughout the spring and summer, he and Lee fought a series of costly battles.