 The Persians used the trail to outflank the defenders.Spartan king Leonidas sent away most of the Greeks, but he himself remained behind with a rear guard composed of his men, the Thespian contingent and a Theban detachment.Ephialtes expected to be rewarded by the Persians, but this came to nothing when they were defeated at the Battle of Salamis.