Ancient Greek warfare and slingers ("sfendonitai") while archers ("toxotai") were rare, mainly from Crete, or mercenary non-Greek tribes (as at the crucial battle of Plataea 479 B.C.) Greek armies gradually downgraded the armor of the hoplites (to linen padded thorax and open helmets) to make the phalanx more flexible and upgraded the javelineers to lightly armored general purpose infantry ("thorakitai" and "thyreophoroi") with javelins and sometimes spears. Eventually, these types effectively complemented the Macedonian style phalanx which prevailed throughout Greece after Alexander the Great. Cavalry had always existed in Greek armies of the classical era but the cost of horses made it far
Ancient Greek warfare turn therefore needed to defeat the Greek fleet; similarly, the Greeks needed to neutralise the Persian fleet to ensure their safety. To this end, the Greeks were able to lure the Persian fleet into the straits of Salamis; and, in a battleground where Persian numbers again counted for nothing, they won a decisive victory, justifying Themistocles' decision to build the Athenian fleet. Demoralised, Xerxes returned to Asia Minor with much of his army, leaving his general Mardonius to campaign in Greece the following year (479 BC). However, a united Greek army of c. 40,000 hoplites decisively defeated Mardonius at the