Shortly after the Battle of Chancellorsville, he was transferred to Maj. Gen. Robert E. Rodes's division of Richard S. Ewell's Second Corps, where he served with distinction in the Gettysburg Campaign. Daniel's large brigade, entrusted to bear the Corps Flag, consisted of the 32nd, 43rd, 45th and 53rd North Carolina, as well as the 2nd North Carolina Battalion. On July 1, 1863, Daniel's Brigade repeatedly attacked the Union positions on McPherson's Ridge, eventually driving off the Union brigade of Col. Roy Stone. Initially, after his brigade's first assault was repulsed, Daniel heroically galloped about his retreating men, successfully rallying them and launching another assault. Daniel's men suffered the greatest losses of any brigade in the corps on the first day of the battle.