The light infantry on both sides engaged in indecisive skirmishing, inflicting few casualties and quickly withdrawing through the ranks of their heavy infantry. As the Roman heavy infantry attacked, Hannibal stood with his men in the weak center and held them together in a controlled retreat. The crescent of Hispanic and Gallic troops buckled inwards as they gradually withdrew step by step. Knowing the superiority of the Roman infantry, Hannibal had instructed his infantry to withdraw deliberately, creating an even tighter semicircle around the attacking Roman forces. By doing so, he had turned the strength of the Roman infantry into a weakness. While the front ranks were gradually advancing, the bulk of the Roman troops began to lose their cohesion, as troops from the reserve lines advanced into the growing gaps. Soon they were compacted together so closely that they had little space to wield their weapons. In pressing so far forward in their desire to destroy the retreating and seemingly collapsing line of Hispanic and Gallic troops, the Romans had ignored (possibly due to the dust) the African troops that stood uncommitted on the projecting ends of this now-reversed crescent. This also gave the Carthaginian cavalry time to drive the Roman cavalry off on both flanks and attack the Roman center in the rear. The Roman infantry, now stripped of protection on both its flanks, formed a wedge that drove deeper and deeper into the Carthaginian semicircle, driving itself into an alley formed by the African infantry on the wings. At this decisive point, Hannibal ordered his African infantry to turn inwards and advance against the Roman flanks, creating an encirclement in one of the earliest known examples of a pincer movement.