How did Octavian defeat Sextus Pompeius and gain control of the islands near Italy?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

Octavian defeated Sextus Pompeius by placing his military operations under the command of his close associate and talented admiral, Marcus Agrippa.12

After previous efforts to resist Sextus Pompeius at sea had failed, Agrippa took charge by constructing a new harbor at Puteoli in the Bay of Naples to support the fleet. In 36 BCE, Agrippa secured two decisive naval victories against Pompeius at Mylae and Naulochus, which effectively ended the threat posed by Pompeius to the islands near Italy. Following these defeats, Sextus Pompeius fled to Asia Minor, where he was eventually captured and executed.23