The Battle of Marathon didn’t end the war, though. The Persians and Greeks went on fighting until the Greeks finally defeated the Persians, once and for all, in a great sea battle at a place called Salamis. After the Battle of Salamis (which took place in 480 BC/BCE) the Persians finally gave up attacking Greece. The Greek cities would remain free and independent from Persia.