August 7–September 1, 1864: As part of the 65th, they moved into the Shenandoah Valley and took part in General Philip Sheridan's Valley Campaigns of 1864. They were engaged in actions at the Third Battle of Winchester, the Battle of Fisher's Hill, and most notably the Battle of Cedar Creek. They helped close the Shenandoah Valley to the Confederacy. They returned to Petersburg as part of the VI Corps in December 1864, and took part in the Battle of Hatcher's Run in February 1865 and again during the final breakthrough of General Robert E. Lee's lines on April 2, 1865. They were active in the pursuit of General Lee towards Appomattox, engaging his army at the Battle of Sailor's Creek on April 6, and witnessed the final surrender of General Lee at Appomattox Court House on April 9, 1865.