The first battle between the Greeks and Xerxes Army took place in 480 BC in a narrow mountain pass.
The Battle of Salamis and Platea
The Persians were not able to get through, but a Greek traitor showed some of the Persians another route around the pass. King Leonidas was ended up being hopelessly outnumbered and all in his troops were killed.
The Persians sent a naval force to attack the Greeks. Aheaded, was a decisive sea battle in 480 BC.
In 479 BC, the greeks assembled an enormous army, led by Pausanias and defeated the Persian army at a place called Platea. This marked the end of the persian invasions.