In 147 BC, the Romans blockaded Carthage and effectively cut off all supplies being sent to the defenders at Nepheris whose defense was being conducted by Diogenes of Carthage.
Scipio surrounded the Carthaginian camp, forcing them to come out and give battle against the smaller Roman army.