Lee's plan called for Jackson to begin the attack on Porter's north flank early on June 26. Maj. Gen. A.P. Hill's Light Division was to advance from Meadow Bridge when he heard Jackson's guns, clear the Union pickets from Mechanicsville, and then move to Beaver Dam Creek. The divisions of Maj. Gens. D.H. Hill and James Longstreet were to pass through Mechanicsville, D.H. Hill to support Jackson and Longstreet to support A.P. Hill. Lee expected Jackson's flanking movement to force Porter to abandon his line behind the creek, and so A. P. Hill and Longstreet would not have to attack Union entrenchments. South of the Chickahominy, Magruder and Huger were to demonstrate, deceiving the four Union corps on their front.