Answer:
The task of stopping Lee at Gettysburg was assigned to General George Gordon Meade.
Explanation:
Once General Robert E. Lee began his offensive against Pennsylvania on June 3, 1863, on June 28, 1863, after Major General John Reynolds refused to be called himself, Meade was appointed general of the army, just three days before the Battle of Gettysburg. At first, Meade thought of setting up a defensive line behind Pipe Creek, but accepted the recommendation from Winfield Scott Hancock that he would do better if he concentrated the troops at Gettysburg.In the face of Lee's bloody offensive in Gettysburg, he scattered his forces among the threatened federal lines, just in time to stop each of the Confederate Army chief's assaults.