Gen. George Crook's command, which had accompanied Maj. Gen. David Hunter during his retreat through West Virginia following the Battle of Lynchburg on June 18.
After two brief engagements in Loudoun County at Heaton's Crossroads (present day Purcellville) and Woodgrove on July 16, Early's main force crossed west over the Blue Ridge Mountains at Snickers Gap and established themselves around Berryville.
The following day, Union Generals Crook and Wright arrived at Snicker's Gap and determined to attack what they mistakenly thought was a light picket line of Confederates along the river, left to cover Early's retreat up the Valley.
At 3 p.m., Thoburn crossed the Shenandoah below Castleman's Ferry, at Judge Richard Parker's Ford, quickly driving off a small force of Confederate pickets.
Gordon responded by moving a division to the vicinity of the ford, using a small ridge that lay between him and the Federals to screen his movements.
As Rodes's men pressed the attack they came to the stone wall, whereupon the Federal reserve line opened up on the unsuspecting Confederates, driving them back towards the ridge.
Throughout the remainder of the evening, Rodes sent small brigade-level attacks at the Federal position on the riverbank, but was unsuccessful in driving them across the river, because Thoburn was able to reinforce his right due to the lack of pressure on his left by Gordon and Wharton.
Wright had sent a small force against a well reinforced Confederate position without the aid of cavalry because he mistakenly assumed it was only the pickets of Early's rearguard.
Gen. Hunter, however, took the initiative and sent a force out from Harpers Ferry to pressure Early's position from the north, causing the Confederates to withdraw from Berryville the following day and setting in motion the Valley Campaigns of 1864.