Across these fields, Union General David M. Gregg's 4,500 horsemen engaged Confederate General J.E.B. Stuart's cavalry in hard-fought charge and counter-charge. Stuart's 6,000 troopers emerged from the distant woods, accelerating in formation from walk to gallop, sabers glinting in the sun. Seeing the Confederate advance, Union General George Custer spurred his horse to the front of the 1st Michigan, shouting, "Come on you Wolverines!" Captain William Miller of the 3rd Pennsylvania said, "A more determined and vigorous charge...was never my fortune to witness." Enemies collided, sabers slashed, guns fired, and men and horses screamed. Union troopers finally pushed the Confederates from the field, and the attack on the Union rear failed.