Caesar agreed to help Cleopatra and fight Ptolemy after he refused to carry out his father's will that Cleopatra should share the throne with him.