Then, when the cavalry was exhausted, Simon appeared on the scene with his forces and attacked and overwhelmed the enemy infantry, who broke ranks and fled.