 Daniel Keyes subsequently took his place as leader of the outfit.During the final years of the war the Rangers were attached to the Union army in the Shenandoah Valley and took part in the Valley Campaigns of 1864 under General Phillip Sheridan.As the war in the valley came to an end, the Rangers returned to their partisan role and were eventually effectively broken up in April 1865 when a detachment of Mosby's Rangers raided their camp at Castleman's Ferry and captured the better part of the command.