 The core of Carthage's military was the Greek-style phalanx formed by citizen hoplite spearmen who had been conscripted into service.During the 4th century BC, the maximum number of troops Carthage was able to conscript into service can be estimated from the capacity of the barracks located in the three rings of walls that protected the city, offering accommodation to 24,000 infantry, 4,000 cavalry, and 300 elephants.In addition to the conscripted forces, large contingents of mercenaries and auxiliaries would be employed.