When the lines joined, Labienus (Pompey's cavalry leader) ordered the cavalry to attack. At first they did well, then Caesar ordered his cavalry to withdraw. Light troops fiercely attacked Pompey's cavalry. The first line of the Pompeiian horse were panicked by the cohort's javelins and caused the entire cavalry to fall into disorder. When the cavalry retreated, Caesar's men slaughtered the light troops who supported them. They attacked Pompey's left flank and, rejoined by their cavalry, were able to get behind and attack Pompey's army from the rear. Caesar raised the pressure further by ordering his as yet uninvolved third line to relieve the front ranks. The remaining Pompeiian soldiers fled and soon the main battle was done.