Original: At that point Leonidas sent away all Greek troops and remained in the pass with his 300 Spartans, 900 Helots, and 700 Thespians who refused to leave.
Simplified: It was then that Leonidas sent away all the Greek troops except 700 Thespians, who refused to leave the battlefield.