Second Battle of Kernstown

The Second Battle of Kernstown was fought on July 24, 1864, at Kernstown, Virginia, outside Winchester, Virginia, as part of the Valley Campaigns of 1864 in the American Civil War. The confederate Army of the Valley under Lt. Gen. Jubal A. Early soundly defeated the Union Army of West Virginia under Brig. Gen. George Crook and drove it from the Shenandoah Valley back over the Potomac River into Maryland. As a result, Early was able to launch the Confederacy's last major raid into northern territory, attacking the Baltimore and Ohio Railroad in Maryland and West Virginia and burning Chambersburg, Pennsylvania, in retaliation for the burning of some civilian houses and farms earlier in the campaign.

Background
On July 19, following a series of unsuccessful Union attacks on his flanks, General Early decided to withdraw from his precarious position at Berryville to a more secure position near Strasburg. During the evacuation of the military hospitals and storage depots at Winchester, Union forces under Brig. Gen. William W. Averell won a rare victory over Confederate forces under Maj. Gen. Stephen D. Ramseur at the Battle of Rutherford's Farm. The poor Confederate performance at the battle, as well as a series of small cavalry engagements south of Winchester the following day led Union commanders George Crook and Horatio G. Wright to conclude the Confederates were merely fighting a rearguard action and that Early was leaving the Valley and heading for Richmond to reinforce the Army of Northern Virginia.

With the threat to Washington, D.C., seemingly over, Wright withdrew the VI Corps and XIX Corp from the valley to return to the aid of Ulysses S. Grant's siege of Petersburg, Virginia, on July 20, leaving only the three-division strong Army of West Virginia in the Valley. The following two days were relatively quiet with both armies resting in their camps some 15 mi from each other. On July 23, Confederate cavalry attacked the Union advanced picket line at Kernstown, leading to a sharp cavalry skirmish. From prisoners caught in the skirmish Early learned of Wright's departure. In order to continue to be of service to Lee in the Valley, Early realized he had to attack the diminished force in front of him to ensure that Grant's force at Petersburg would not be reinforced.

Battle
On the morning of July 24, Early marched his army north against Crook. Confederate cavalry encountered its Union counterpart south of Kernstown in the morning and heavy skirmishing broke out. Couriers alerted Crook to the attack. Crook still believed Early's infantry had left the Valley and sent only two of his division with cavalry support to meet the attack. In the early afternoon the infantry of both armies had arrived on the field. The Confederate position extended well to each side of the Valley pike south of Kernstown, anchored on each flank on high ground and screened by cavalry. Maj. Gen. John B. Gordon's division formed the Confederate center along the Valley Turnpike. Ramseur's division formed on his left with its flank resting on Sandy Ridge to the west of Kernstown, screened by Col. William "Mudwall" Jackson's cavalry. Brig. Gen. Gabriel C. Wharton's division, led by Maj. Gen. John C. Breckinridge, formed the Confederate right, with its flank screened by Brig. Gen. John C. Vaughn's cavalry. Early initially concealed his infantry in a woods, sending out his cavalry and skirmish line of sharpshooters to draw the Federals into battle, thus playing into Crook's misconception that he the Confederate infantry had left the Valley.

The Union infantry position remained clustered around the Valley Pike in Kernstown anchored by Col. James A. Mulligan's division on Pritchard's Hill, one of the keys to the Union success at the First Battle of Kernstown in 1862. To his right, Col. Joseph Thoburn's division formed on Sandy Ridge. To his left, future president Rutherford B. Hayes's brigade formed east of the Valley turnpike. Crook dispatched cavalry under Averell to ride around the Confederate right flank and get in its rear. As the two armies skirmishers encountered one another the battle got under way. It soon became apparent to the Federal divisional commanders that they were facing a superior Confederate force which they were hesitant to attack and relayed the information to Crook.

Crook quickly became impatient by the lack of his divisional commanders to attack the Confederate position, and distrusted their report of the Confederate strength. He ordered Mulligan to attack the Confederates with Hayes's division in support. At 1 p.m. the Union infantry reluctantly moved out, abandoning Pritchard's Hill. Mulligan's division bitterly held its ground at Opequon Church where its advance was halted by Gordon's men. As Hayes's brigade advanced in support, Breckinridge marched Wharton's division to the northeast into a deep ravine that ran perpendicular to the Valley Turnpike. He turned the division into the ravine, which screened his movement from the Federals on the turnpike. As Hayes came up the road past the ravine, Breckinridge ordered a charge and the Confederates assaulted Hayes's exposed flank and sent his division reeling in retreat, taking many casualties.

Thoburn was supposed to support Mulligan's right flank in the attack, but because of the topography of the battlefield, he became separated from Mulligan and saw little action during the battle. Gordon's Confederates exploited the gap in the Union line to get on Mulligan's right and when Hayes's division broke, Mulligan found himself caught between two Confederate divisions. Mulligan immediately ordered a withdrawal, and was mortally wounded as he tried to rally his troops and prevent a full rout during the retreat. The Confederate infantry pressed the fleeing Federals all the way back through Winchester and the cavalry kept at their heels well into West Virginia.

Averell's cavalry had attempted to flank the Confederates as ordered but ran headlong into Vaughn's cavalry on the Front Royal Pike. The shock of the unexpected Confederate cavalry attack sent the Federal cavalry racing towards Martinsburg. When the fleeing cavalry encountered the retreating wagon and artillery trains north of Winchester it incited a panic among the Federal teamsters, causing many to abandoned their charges as they got caught up in retreat. Many of the wagons had to be burned to prevent them from falling into Confederate hands. As night fell the Confederate cavalry swept the countryside looking for Federals who had become lost from their units in retreat. Most of the Federals spent the night out in the rain, scattered across countryside, trying to evade capture.

Aftermath
The victory marked the high-water point for the Confederacy in the Valley in 1864. Crook's broken army retreated to the Potomac River and crossed near Williamsport, Maryland, on July 26. With the Shenandoah Valley clear of Union forces, Early launched a raid into northern territory, the last made by a substantial Confederate force during the war, burning Chambersburg, Pennsylvania as retribution for David Hunter's burning of civilian houses and farms earlier in the campaign. (Hunter had also burned the Virginia Military Institute in Lexington, but Early's orders to his cavalry under John McCausland did not mention this as a justification.) They also attacked Union garrisons protecting the Baltimore and Ohio Railroad near Cumberland, Maryland. As a result of this defeat and McCausland's burning of Chambersburg on July 30, Grant returned the VI and XIX Corps to the Valley and appointed Maj. Gen. Philip Sheridan as commander of Union forces there, turning the tide once and for all against the Confederates in the Valley.