Huger then participated in several of the Seven Days Battles with the Army of Northern Virginia, now under the command of Gen. Robert E. Lee, who replaced the wounded Johnston on June 1. Lee planned an offensive in late June against an isolated Union Army corps with the bulk of his army, leaving less than 30,000 men in the Richmond trenches to defend the Confederate capital. This force consisted of the divisions of Maj. Gens. John B. Magruder, Theophilus H. Holmes, and Huger. During the Battle of Oak Grove on June 25, his portion of the line was attacked by two divisions of the Union III Corps led by Brig. Gens. Joseph Hooker and Philip Kearny. When part of the assault faltered in rough terrain, Huger took advantage of the confused, uneven Union line and counterattacked with the brigade of Brig. Gen. Ambrose R. Wright. After repulsing the charge, another Union force attacked Huger but was also stopped short of the line. The Battle of Oak Grove cost Huger 541 men killed and wounded, while inflicting 626 total casualties on the Union Army.