In the initial surprise Confederate advance, Bragg's corps was ordered to attack in a line that was almost 3 miles long, but he soon began directing activities of the units that found themselves around the center of the battlefield.