qnli question: What Spartan mercenary helped reform Carthage's military? sentence: After their defeat in the first Punic war, Carthage hired a Spartan mercenary captain, Xanthippus of Carthage to reform their military forces.