On June 25, 1864, the unit was dismounted and ordered to serve as infantry. They were sent north on July 15 with other units of the XIX Corps to become part of the Army of the Shenandoah and served as infantry in several large battles during the Valley Campaigns of 1864. The regiment took significant casualties during the Third Battle of Winchester and the Battle of Cedar Creek.