After Pompey fled to Egypt following Pharsalus, he was killed on orders of Ptolemy XIII, who hoped to curry favor with Caesar. Far from being angry, Caesar was reportedly displeased at being denied the chance to pardon his rival publicly—a political gesture that would have demonstrated his magnanimity. But he accepted the fait accompli. The killing served Ptolemy's calculation, not Caesar's wrath. Caesar later intervened in the Egyptian civil war on Cleopatra's side, but his reaction to Pompey's death was strategic, not emotional.