They were to draw the Union Army of the Potomac away from the Rappahannock River; to disrupt the summer offensive plans of Union General Joseph Hooker; to drive Union General Robert Milroy out of the Shenandoah Valley; and provide the Confederate Army of Northern Virginia with desperately needed sources of food, forage, horses and other supplies.