The Alexandrian war was a phase of Caesar's civil war in which Julius Caesar involved himself in an Egyptian dynastic struggle. Caesar attempted to mediate a succession dispute between Cleopatra and Ptolemy XIII and exact repayment of certain Egyptian debts.