Union gun position at Malvern Hill unit of Richmond National Battlefield Park

At the Battle of Malvern Hill (July 1, 1862) during the American Civil War, the Confederate Army of Northern Virginia under the command of General Robert E. Lee and the Union Army of the Potomac under General George B. McClellan clashed near Richmond, Virginia, the Confederate capital.

Confederate commander-in-chief Joseph E. Johnston had fended off McClellan's repeated attempts to take the city of Richmond as part of McClellan's ambitious Peninsula Campaign. After Johnston was wounded, Lee took command and launched a series of counterattacks, collectively called the Seven Days Battles, culminating in the action on Malvern Hill. The battle involved over fifty thousand soldiers from each side, hundreds of pieces of artillery and three warships. The Union V Corps, under Fitz John Porter, took up positions on the hill on June 30 in preparation for the battle, which began the following day. Confederate preparations were hindered by several mishaps. Nonetheless, the Confederates attacked first, when the artillery on the left flank began firing upon the Union line. The Federal artillery, however, was the story of the day, repulsing attack after attack.

In the aftermath of the battle, the Confederate press heralded Lee as the savior of Richmond. McClellan was criticized harshly for his absence from the battlefield, an issue that would haunt him when he ran for president in 1864. From Malvern Hill, McClellan and his forces withdrew to Harrison's Landing where he would stay until August 16. Lee withdrew to Richmond to prepare for his next operation, as the action on Malvern Hill ended the campaign on the Peninsula.