The History of North Africa during the period of Classical Antiquity (c. 8th century BCE – 5th century CE) can be divided roughly into the history of Egypt in the east, the history of Ancient Libya in the middle and the history of Numidia and Mauretania in the West. The Roman Republic established the province of Africa in 146 BCE after the defeat of Carthage. The Roman Empire eventually controlled the entire Mediterranean coast of Africa, adding Egypt in 30 BCE, Creta et Cyrenaica in 20 BCE, and Mauretania in CE 44.
Initially, in the east, Egypt was under Persian rule during the early phase of classical antiquity, passing to the Ptolemaic dynasty in the Hellenistic era. Libya was inhabited by Berber tribes, while along the coast Phoenician and Greek colonies were set up.
Rome lost parts of Africa to the Vandals in the 5th century. The Byzantine Empire finally lost all control of Africa as the region fell to the Umayyad conquest of North Africa by the close of the 7th century.
The Late Period of Ancient Egypt refers to the last flowering of native Egyptian rulers after the Third Intermediate Period from the 26th Saite Dynasty into Persian conquests and, ending with the fall of the Thirty-First (Second Persian) Dynasty to the conquest of Alexander the Great in 332 BCE. After Alexander's death in 323 BCE, Egypt fell to Ptolemy I Soter who eventually established the Ptolemaic Kingdom in 305 BCE.