However, when the Egyptians stayed in their positions, the Roman army then engaged the Egyptian forces at the hill, resulting in fierce fighting between the two forces. Several Roman cohorts then tried to flank the Egyptians, only to suffer heavy casualties after the Egyptians pinned down the flanking force and fired at them with missile fire from the Egyptians ships. Eventually, a gap was exposed in the main Egyptian line which a Roman contingent managed to exploit and attack the Egyptians from the rear, causing the Egyptian army to panic and flee from the battlefield.