While the fighting raged on the Federal left flank, Confederate forces under Richard Ewell tested the Union right on Culp's Hill and Cemetery Hill. After several determined attacks, the onset of darkness brought the fighting to a close. Across the battlefield that day, Confederates had come very close to victory, almost breaking the Union lines in several places. In the roughly seven hours of fighting that took place that afternoon, there were as many as 19,000 casualties, a staggering toll; however, George Meade's Army of the Potomac had held on.