Reword the following text.
At last, at Philippi, he was able to set against them his legions and those of Octavian, who was Caesar's heir.
In the end it had raised, both its legions and the legion of Octavian, the heir of Caesar, against them in Philipp.