The Greco-Persian Wars were the wars of 499-449 BC in which the Greek city-states, led by Athens and Sparta, resisted the invasion of Persia. Under Darius I the Persians pushed west into the Aegean and held the Greek cities of Asia Minor; in 499 BC Miletus and its neighbors revolted, Athens sent ships to their aid, and the rising, once crushed, gave Darius his pretext to punish Athens. At Marathon in 490 BC the Athenian infantry beat a larger host; in 480 BC King Xerxes came again with the whole weight of the empire — the defenders of Thermopylae died where they stood, and in the same year at Salamis the Athenian fleet wrecked the Persian fleet; in 479 BC the Greek allies won again at Plataea and the Persian main force quit Greece. The war then turned to the counter-offensive: Athens organized the Delian League and drove Persian power out of the Aegean step by step, and around 449 BC the fighting closed — scholarship takes the Peace of Callias as the marker, though its authenticity remains debated. The wars preserved the independence of the city-states; Athens, on the glory of the sea war, built her maritime hegemony and entered the prosperity of the age of Pericles — and the rivalry with Sparta deepened, to burst decades later into the Peloponnesian War.