The battle of Williamsburg was considered a Union victory but it was more of a delaying action against Johnston's rear guard covering his retreat from Yorktown. To buy time he placed Longstreet's division in fortifications at Fort Magruder. Hooker's division attacked Fort Magruder and was repulsed. Longstreet then counterattacked and was threatening to rout Hooker's division. Union reinforcements led by Phil Kearny stabilized the Union lines and then attacked Longstreet forcing his division to retreat. Hancock led a bayonet charge against the 24th Virginia and the 5th North Carolina that drove those regiments from the field earning him his nickname Hancock the Superb. Jubal Early was wounded as he personally attempted to rally the 24th Virginia. Casualties were around 2,400 men killed, wounded or captured for the Union and around 1,800 men for the Confederates. The Confederates resumed their retreat from Yorktown the next day and continued until making a stand at Seven Pines which was fought on May 31st-June 1 1862.