Xerxes lost the Persian fleet ten years after his father's defeat at the Battle of Marathon. 
He was defeated at the famous Battle of Marathon in 490 b.c. , and ten years later his son Xerxes lost the Persian fleet at the Battle of Salamis.