The ancient history of Africa spans from the ancient period until the medieval and early modern period in the history of Africa.
Antiquity
The ancient history of North Africa is inextricably linked to that of the Ancient Near East. This is particularly true of Ancient Egypt and Nubia. In the Horn of Africa the Kingdom of Aksum ruled modern-day Eritrea, northern Ethiopia and the coastal area of the western part of the Arabian Peninsula. The Ancient Egyptians established ties with the Land of Punt in 2,350 BC. Punt was a trade partner of Ancient Egypt and it is believed that it was located in modern-day Somalia, Djibouti or Eritrea. Phoenician cities such as Carthage were part of the Mediterranean Iron Age and classical antiquity. Sub-Saharan Africa developed more or less independently in those times.
Ancient Egypt
Mainstream scholars have situated the ethnicity and the origins of predynastic, southern Egypt as a foundational community primarily in northeast Africa which included the Sudan, tropical Africa and the Sahara whilst recognising the population variability that became characteristic of the pharaonic period."There is now a sufficient body of evidence from modern studies of skeletal remains to indicate that the ancient Egyptians, especially southern Egyptians, exhibited physical characteristics that are within the range of variation for ancient and modern indigenous peoples of the Sahara and tropical Africa. The distribution of population characteristics seems to follow a clinal pattern from south to north, which may be explained by natural selection as well as gene flow between neighboring populations. In general, the inhabitants of Upper Egypt and Nubia had the greatest biological affinity to people of the Sahara and more southerly areas.”“The data clearly suggests that the population in southern Egypt became more diverse as the society more complex (Keita 1992). Egyptian society seems never to have been “closed”, and it is hard to believe that the modal phenotype could have remain unchanged, especially if social and sexual collection were operating. However, it is important to emphasize that, while the biology changed with increasing local social complexity, the ethnicity of Niloto-Saharo-Sudanese origins did not change. The cultural morays, ritual formulae, and symbols used in writing, as far as can be ascertained, remained true to their southern origins”.p.85–“The physical anthropological findings from the major burial sites of those founding locales of ancient Egypt in the millennium BCE, notably El-Badari as well as Naqada, show no demographic indebtedness to the Levant. They reveal instead a population with cranial and dental features with closest parallels of those of other longtime populations of the surrounding areas of northeastern Africa, such as Nubia and the northern Horn of Africa. Members of this population did not come from somewhere else but were descendants of the long-term inhabitants of these portions of Africa going back many millennia.”p.355 - “The importance of iconographic sources was emphasized in the main. Säve-Söderbergh and Leclant stressed that the links indicated by cave paintings between the vast expanses of the Sahara and the banks of the Nile nodded to a migration of peoples of the Sahara and groups from the South to the valley –something confirmed by research over the last thirty years. Diop set out to return Egypt to its southern African hinterland by systematically using Pharaonic statues and art to support his point of view. Although a debate on the north-south orientation of a ‘civilizing’ wave of peoples in the valley had prevailed up to that point, the avalanche of new data now made this idea redundant, suggesting instead the image of a growing and unifying political movement in the valley from south to north that repositioned its starting point back in time: in Upper Egypt, digs at the Uj tomb of King Scorpion at the Abydos necropolis push back the origin of the first Horus back to circa 3250 BCE, and the resumption of excavations at Nekhen led to the exhumation of the famous ‘Elephant Kings’ of Hierakonpolis (Nekhen) which have no inscriptions and date back even further to circa 3700 BCE.” p.356 - “It quantified the key impact of sub-Saharan populations and found a clear link between the Siwi and the peoples of North-East Africa. We could continue with work by Zakrzewski on the predynastic population of Nekhen, investigations by Crubezy which traced the boundaries of the ancient Khoisan settlement to Upper Egypt, where its faint traces remain identifiable, and Keita’s work, as the most groundbreaking.”'p.356 - “Hence the work by Cerny’s team highlighting the close links between the peoples of Upper Egypt, North Cameroon and Ethiopia – the Cameroon people living in the Mandara mountains speaking Chadic languages, and the Ethiopians speaking Kushitic languages, prior to Ge’ez being spread throughout the region during the Aksumite period. This broadens the linguistic debate to include language families that had been little studied or used in comparisons that have long focused on the East.” Pharaonic Egypt featured a physical gradation across the regional populations, with Upper Egyptians having shared more biological affinities with Sudanese and southernly African populations, whereas Lower Egyptians had closer genetic links with Levantine and Mediterranean populations."Southern Egypt and Nubia are geographically co-extensive, with populations grading into each other. The absorption of Qustul’s people would have reinforced this. There is biological overlap of these populations in origin, but ongoing admixture is also apparent."
After the desertification of the Sahara, settlement became concentrated in the Nile Valley, where numerous sacral chiefdoms appeared. The regions with the largest population pressure were in the Nile Delta region of Lower Egypt, in Upper Egypt, and also along the second and third cataracts of the Dongola Reach of the Nile in Nubia. This population pressure and growth was brought about by the cultivation of southwest Asian crops, including wheat and barley, and the raising of sheep, goats, and cattle. Population growth led to competition for farm land and the need to regulate farming. Regulation was established by the formation of bureaucracies among sacral chiefdoms. The first and most powerful of the chiefdoms was Ta-Seti, founded around 3,500 BC. The idea of sacral chiefdom spread throughout Upper and Lower Egypt.
Later consolidation of the chiefdoms into broader political entities began to occur in Upper and Lower Egypt, culminating into the unification of Egypt into one political entity by Narmer (Menes) in 3,100 BC. Instead of being viewed as a sacral chief, he became a divine king. The henotheism, or worship of a single god within a polytheistic system, practiced in the sacral chiefdoms along Upper and Lower Egypt, became the polytheistic Ancient Egyptian religion. Bureaucracies became more centralized under the pharaohs, run by viziers, governors, tax collectors, generals, artists, and technicians. They engaged in tax collecting, organizing of labor for major public works, and building irrigation systems, pyramids, temples, and canals. During the Fourth Dynasty (2,620–2,480 BC), long-distance trade was developed, with the Levant for timber, with Nubia for gold and skins, with Punt for frankincense, and also with the western Libyan territories. For most of the Old Kingdom, Egypt developed her fundamental systems, institutions and culture, always through the central bureaucracy and by the divinity of the Pharaoh.
After the fourth millennium BC, Egypt started to extend direct military and political control over her southern and western neighbors. By 2,200 BC, the Old Kingdom's stability was undermined by rivalry among the governors of the nomes who challenged the power of pharaohs and by invasions of Asiatics into the Nile Delta. The First Intermediate Period had begun, a time of political division and uncertainty.
Middle Kingdom of Egypt arose when Mentuhotep II of Eleventh Dynasty unified Egypt once again between 2041 and 2016 BC beginning with his conquering of Tenth Dynasty in 2041 BC. Pyramid building resumed, long-distance trade re-emerged, and the center of power moved from Memphis to Thebes. Connections with the southern regions of Kush, Wawat and Irthet at the second cataract were made stronger. Then came the Second Intermediate Period, with the invasion of the Hyksos on horse-drawn chariots and utilizing bronze weapons, a technology heretofore unseen in Egypt. Horse-drawn chariots soon spread to the west in the inhabitable Sahara and North Africa. The Hyksos failed to hold on to their Egyptian territories and were absorbed by Egyptian society. This eventually led to one of Egypt's most powerful phases, the New Kingdom (1,580–1,080 BC), with the Eighteenth Dynasty. Egypt became a superpower controlling Nubia and Judea while exerting political influence on the Libyans to the West and on the Mediterranean.
As before, the New Kingdom ended with invasion from the west by Libyan princes, leading to the Third Intermediate Period. Beginning with Shoshenq I, the Twenty-second Dynasty was established. It ruled for two centuries.
To the south, Nubian independence and strength was being reasserted. This reassertion led to the conquest of Egypt by Nubia, begun by Kashta and completed by Piye (Pianhky, 751–730 BC) and Shabaka (716–695 BC). This was the birth of the Twenty-fifth Dynasty of Egypt. The Nubians tried to re-establish Egyptian traditions and customs. They ruled Egypt for a hundred years. This was ended by an Assyrian invasion, with Taharqa experiencing the full might of Assyrian iron weapons. The Nubian pharaoh Tantamani was the last of the Twenty-fifth dynasty.
When the Assyrians and Nubians left, a new Twenty-sixth Dynasty emerged from Sais. It lasted until 525 BC, when Egypt was invaded by the Persians. Unlike the Assyrians, the Persians stayed. In 332, Egypt was conquered by Alexander the Great. This was the beginning of the Ptolemaic dynasty, which ended with Roman conquest in 30 BC. Pharaonic Egypt had come to an end.
Nubia
Nubia, situated along the Nile River in what is now southern Egypt and northern Sudan, was home to a series of complex societies and kingdoms that played significant roles in the ancient world.
The earliest known culture in Nubia is the A-Group, flourishing between approximately 3800 and 3100 BCE. This culture developed out of Neolithic societies and is recognized for its cemeteries, artifacts, and rock art found between the First and Second Cataracts of the Nile. The A-Group engaged in trade with ancient Egypt, exchanging goods such as gold, copper, and ivory. The term "Ta-Seti," meaning "Land of the Bow," was used by ancient Egyptians to refer to Nubia, highlighting the region's reputation for skilled archers. Some scholars associate Ta-Seti with the A-Group culture, though the exact relationship remains a subject of debate.
Around 2500 BCE, the Kingdom of Kerma emerged as a powerful Nubian state centered near the Third Cataract of the Nile. Kerma became a significant rival to Egypt, controlling territory from the Second to the Fourth Cataracts. The city of Kerma featured monumental architecture, including a large mudbrick temple and extensive cemeteries. During the Second Intermediate Period of Egypt (circa 1650–1550 BCE), Kerma allied with the Hyksos, who controlled parts of northern Egypt. This alliance posed a substantial threat to the Egyptian state. However, the rise of Egypt's New Kingdom led to military campaigns that eventually subdued Kerma by around 1500 BCE.