And as a consequence, by examining the map, he then orders his three corps, one commanded by Richard Ewell, which is near Harrisburg, one commanded by Ambrose Powell Hill, just to the west of Gettysburg, and one commanded by Peter Longstreet, south and west of Gettysburg,