 During the battle, Peruvian naval officer Captain Juan Fanning became a national hero for leading a spectacular infantry charge of marines that nearly outflanked the enemy.Fanning's brigade caused some Chilean casualties until running out of ammunition, then continued to fight with knife and bayonet until Fanning was mortally wounded.400 of Fanning's 524 men were killed during the charge.