After days of skirmishing and shelling at the fortifications around Spotsylvania Court House, V Corps was again ordered to move to the south, continuing the maneuver toward Richmond. After stopping at Guinea's Station and the Po River, they crossed the North Anna River near dusk on May 23, 1864. That evening, before they were able to fully establish their battle lines, they were attacked by Confederates of A. P. Hill's Third Corps in the first action of the Battle of North Anna. After initially giving ground, the division rallied and drove the Confederates from the field. After more days of entrenched stalemate, on the evening of May 26, Grant again ordered the Union divisions to stealthily evacuate their lines and proceed south around the Confederate right flank. They crossed the Pamunkey River on May 28 and set defensive lines behind the cavalry Battle of Haw's Shop. They moved again on May 29 and May 30, encountering divisions of the Confederate 1st Corps at the Battle of Totopotomoy Creek and repelled them.