C. Sparta and Athens came together to defeat the Persians.
The Greeks were able to defeat the Persians largely due to the cooperation between various city-states, particularly the significant alliance between Athens and Sparta. This unity played a crucial role in key battles such as the Battle of Salamis (naval battle) and the Battle of Plataea.