Hamilcar commanded the Carthaginian land forces in Sicily from 247BC to 241BC, during the latter stages of the First Punic War. He kept his army intact and led a successful guerrilla war against the Romans in Sicily. Hamilcar retired to Carthage after the peace treaty in 241BC, following the defeat of Carthage. When the Mercenary War burst out in 239BC, Hamilcar was recalled to command and was instrumental in concluding that conflict successfully. Hamilcar commanded the Carthaginian expedition to Spain in 237BC, and for eight years expanded the territory of Carthage in Spain before dying in battle in 228 BC. He may have been responsible for creating the strategy which his son Hannibal implemented in the Second Punic War to bring the Roman Republic close to defeat.