On the first day of fighting at Gettysburg, the Union army

A. drove the Confederates out of Pennsylvania.
B. was forced into a defensive position.
C. had an easy victory against the Confederate army.
D. fought the Confederate army to a stand-off.