Stonewall Jackson was ordered to press the Union rear guard at the White Oak Swamp crossing while the largest part of Lee's army, some 45,000 men, would attack the Army of the Potomac in mid-retreat at Glendale, about 2 miles southwest, splitting it in two.