When his army was adequately reinforced, Fernández de Córdoba engaged the French on 28 April 1503 at the Battle of Cerignola where 6,000 Spanish troops faced a French army of 10,000. Gonzalo formed his infantry into units called "coronelías" with pikemen tightly packed in the center and arquebusiers and swordsmen on the flanks. The French unsuccessfully attacked the front and were assailed by gunfire coming from the flanks. The French commander, the Louis d'Armagnac, Duke of Nemours, was killed early in the battle. After withstanding two French charges, Fernández de Córdoba, El Gran Capitán, went on the offensive and drove the French off the field. This was the first time in history that a battle had been won largely through the strength of firearms.