Gladius (ˈɡɫadiʊs) is a Latin word properly referring to the type of sword that was used by ancient Roman foot soldiers starting from the 3rd century BC and until the 3rd century AD. Linguistically, within Latin, the word also came to mean "sword", regardless of the type used. Early ancient Roman swords were similar to those of the Greeks, called xiphe (plural; singular xiphos). From the 3rd century BC, however, the Romans adopted a weapon based on the sword of the Celtiberians of Hispania in service to Carthage during the Punic Wars, known in Latin as the gladius hispaniensis, meaning "Hispanic-type sword". Over time, the Romans improved the weapon depending on how Roman battle units waged war and also created a number of variants. The Mainz gladius replaced the Hispaniensis during the Roman campaigns in Germany and the Pompeii gladius replaced the Mainz during the Pax Romana and the early centuries of the Roman Empire. Finally, in the third century AD the heavy Roman infantry replaced the gladius with the spatha (already common among Roman cavalrymen), relegating the gladius as a weapon for light Roman infantry. A fully equipped Roman legionary after the consulships of Gaius Marius was armed with a sword (gladius), a shield (scutum), one or two javelins (pila), often a dagger (pugio), and perhaps, in the later empire period, darts (plumbatae). Conventionally, soldiers threw pila to disable the enemy's shields and disrupt enemy formations before engaging in close combat, for which they drew the gladius. A soldier generally led with the shield and thrust with the sword. Gladius is a Latin masculine noun. The nominative plural of it is gladiī. However, gladius in Latin refers to any sword, not only the sword described here. The word appears in literature as early as the plays of Plautus (Casina, Rudens).