Which event allowed the Roman Republic to control parts of northern Africa?
A.
its victory against Carthage in the second century BC
B.
its treaty with the city-states of Spain in the third century BC
C.
its defeat of the Egyptian kingdom in the third century BC
D.
its military alliance with Egypt in the second century BC