two infantry regiments that did most of the fighting. The XIX Corps attack was stopped around 1:00pm with heavy casualties for both sides, and a small victory for Gordon. The 1st Division of the XIX Corps then transitioned to the defense. Russell, Edwards, and Upton save the VI Corps Ricketts' Division moved beyond the Dinkle Barn, with Keifer's Brigade on the right advancing beyond his support on either flank. As Keifer attempted to capture Confederate batteries, a brigade from Rodes' Division attacked from the Union front and right. Keifer was routed, and his men retreated in wild disorder. This assistance from Rodes ended Ramseur's retreat and revitalized his men. Soon the remaining portion of Rickett's Division was retreating, and the retreat spread to Getty's Division. The Confederates regained control of Dinkle Barn and pressed forward at the gap between the two Union corps. Union Colonel Charles H. Tompkins directed artillery on both the north and south side of the Berryville Pike to assist both corps. Colonel Oliver Edwards's Third Brigade of Russell's 1st Division of the VI Corps used the 37th Massachusetts Infantry Regiment, armed with Spencer repeating rifles, to stop the Confederate advance. At that time, Russell brought up more regiments from Edwards' Brigade and they were joined by two regiments from Ricketts' Division. As Russell ordered Edwards to attack, he was shot and then killed by a shell fragment. Edwards superintended movements until Brigadier General Emory Upton was able to take command. All three of Russell's brigades worked to stop the Confederate bulge in the line. Upton, in person, led his brigade in the capture of a portion of a regiment from North Carolina—including its colonel. The leadership of Russell, Edwards, and Upton re-established the Union infantry line and caused most of the 2,000 to 3,000 Union men who had fled to the rear to return to the front. Wright believed the restoration of the Union line was the "turning point in the conflict". It was after 1:00pm, and Russell's 1st Division restored the infantry line in about 30 minutes of fighting. Early shifts his forces At 12:30pm, Averell's Division was getting closer to Stephenson's Depot, and Merritt's brigades commanded by Lowell and Custer were east of the depot facing Wharton's (Breckinridge's) Division. Breckinridge was informed by a messenger from Early that he was needed in Winchester and should retreat toward the Valley Pike before Averell arrived behind