In 1863, the regiment participated in the Battle of Kelly's Ford. Later that year, it was heavily involved in the Gettysburg Campaign, fighting at the Battle of Brandy Station and in several smaller engagements during the Union operations in the Loudoun Valley of Virginia, including the battles of Aldie, Middleburg, and Upperville. They traveled into Pennsylvania with the division as part of the brigade of Col. Pennock Huey, but before the Battle of Gettysburg withdrew to Westminster, Maryland, to guard the army's supply trains. The regiment was active during the retreat of the Confederate Army of Northern Virginia in July. Later in the year, the regiment participated in both the Mine Run and Bristoe campaigns.