The Union's Army of the Potomac, commanded by Maj. Gen. George B. McClellan, had moved up the Virginia Peninsula, reaching the outskirts of Richmond, the Confederate capital.
On May 31, Confederate General Joseph E. Johnston attempted to overwhelm two Federal corps that appeared isolated south of the Chickahominy River.
The Confederate assaults, although poorly coordinated, succeeded in driving back the IV Corps and inflicting heavy casualties.
Johnston's men burned most of the bridges over the Chickahominy and settled into strong defensive positions north and east of the city.
First, the Pamunkey River, which ran roughly parallel to the Chickahominy, offered a line of communication that could enable McClellan to get around Johnston's left flank.
Second, McClellan anticipated the arrival of the I Corps under Maj. Gen. Irwin McDowell, scheduled to march south from Fredericksburg to reinforce his army, and thus needed to protect their avenue of approach.
[8] Johnston, who had retreated up the Peninsula to the outskirts of Richmond, knew that he could not survive a massive siege and decided to attack McClellan.
His original plan was to attack the Union right flank, north of the Chickahominy River, before McDowell's corps, marching south from Fredericksburg, could arrive.
However, on May 27, the same day the Battle of Hanover Court House was fought northeast of Richmond, Johnston learned that McDowell's corps had been diverted to the Shenandoah Valley and would not be reinforcing the Army of the Potomac.
The Confederate attack plan was complex, calling for the divisions of A. P. Hill and Magruder to engage lightly and distract the Union forces north of the river, while Longstreet, commanding the main attack south of the river, was to converge on Keyes from three directions: six brigades under Longstreet's immediate command and four brigades under D. H. Hill were to advance on separate roads at a crossroads known as Seven Pines (because of seven large pine trees clustered at that location); three brigades under Huger were assigned to support Hill's right; Whiting's division was to follow Longstreet's column as a reserve.
The plan had an excellent potential for initial success because the division of the IV Corps farthest forward, manning the earthworks a mile west of Seven Pines, was that of Brig.
Exacerbating the problems on both sides was a severe thunderstorm on the night of May 30, which flooded the river, destroyed most of the Union bridges, and turned the roads into morasses of mud.
Johnston and his second-in-command, Smith, unaware of Longstreet's location or Huger's delay, waited at their headquarters for word of the start of the battle.
Casey's line, manned by inexperienced troops, buckled with some men retreating, but fought fiercely for possession of their earthworks, resulting in heavy casualties on both sides.
The Confederates only engaged four brigades of the thirteen on their right flank that day, so they did not hit with the power that they could have concentrated on this weak point in the Union line.
Eventually the mass of Confederates broke through, seized a Union redoubt, and Casey's men retreated to the second line of defensive works at Seven Pines.
Lowe reported on May 29 the buildup of Confederate forces to the left of New Bridge or in front of the Fair Oaks train station.
Meanwhile, another of Longstreet's brigades under Col. James L. Kemper, arrived on the field and charged the Union lines, but artillery fire forced them to retreat.
[17] Just before Hill's attack began, Johnston received a note at approximately 4:00 pm from Longstreet requesting that he join the battle, the first news he had heard of the fighting.
Gen. Robert Hatton, one of the Army of Virginia's newest brigadiers, having just been promoted from colonel of the 7th Tennessee on May 23, 1862, was shot in the head leading his brigade into action and died instantly.
A final surge by Whiting's four brigades resulted in a heavy loss of casualties as Sumner mounted a counterattack that drove the Confederate force from the field.
[18] The most historically significant incident of the day occurred around dusk, when Johnston was struck in the right shoulder by a bullet, immediately followed by a shell fragment hitting him in the chest.
[24] A contemporary map drawn by private Julius Honore Bayol of the 5th Alabama Infantry Regiment,[25] refers simply to the engagement as having occurred at the "Battlefield of 31st of May and 1st June, 62.
"[27] He redeployed all of his army except for the V Corps south of the river, and although he continued to plan for a siege and the capture of Richmond, he lost the strategic initiative.
The hapless division would play no further role in the campaign, being relegated to guard duty at Harrison's Landing along the James River, and was left behind permanently on the peninsula after the Army of the Potomac returned to Washington D.C. in early August.
An offensive begun by the new Confederate commander, Gen. Robert E. Lee, would be planned while the Union troops passively sat in the outskirts of Richmond.
The Seven Days Battles of June 25 through July 1, 1862, drove the Union Army back to the James River and saved the Confederate capital.
[28] After taking command, Robert E. Lee embarked on a reorganization of the Confederate army, breaking up and reassigning some brigades, nominating replacements for dead and wounded officers, and removing two brigadiers, Albert G. Blanchard and Raleigh Colston, who had failed to get their units into action during the battle and generally delivered a below-average performance.
On June 24, 1862, McClellan's massive Army of the Potomac was within 6 miles (9.7 km) of the Confederate capital of Richmond; Union soldiers wrote that they could hear church bells ringing in the city.
In MacKinlay Kantor's Pulitzer Prize-winning novel Andersonville (1955), Henry Wirz, one of the main characters, reflects often upon the circumstances of the battle, in which he purportedly received a severe arm injury ("God damn the Yankee who did this to me").