Under orders to prevent reinforcements from being sent to Grant, Early marched north on July 24 against Crook. After an hour of stubborn resistance at Pritchard's Hill, the Federal line collapsed and Crook's divisions streamed back in disarray through the streets of Winchester. Col. James Mulligan commanding Crook's 3rd Division was mortally wounded. Rutherford B. Hayes commanded a brigade against John C. Breckinridge's wing. Crook retreated to the Potomac River and crossed near Williamsport, Maryland, on July 26. As a result of this defeat and Early's burning of Chambersburg, Pennsylvania, 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.