During the Gettysburg Campaign, he commanded a brigade of two North Carolina cavalry regiments primarily assigned to scout for Robert E. Lee. At the Battle of Brandy Station, his men failed to significantly delay a Union column approaching Brandy Station from the southeast. He fought in J.E.B. Stuart's delaying actions in the Loudoun Valley at Middleburg and Upperville. His men helped cover Lee's retreat following the Battle of Gettysburg, but suffered severe losses during the campaign.