There is evidence of rock carvings along the Nile terraces and in the desert oases. In the 10th millennium BC, a culture of hunter-gatherers and fishers replaced a grain-grinding culture. Climate changes and/or overgrazing around 8000 BC began to desiccate the pastoral lands of Egypt, forming the Sahara. Early tribal peoples migrated to the Nile River where they developed a settled agricultural economy and more centralized society.
All Gizah Pyramids
By about 6000 BC the Neolithic culture rooted in the Nile Valley. During the Neolithic era, several predynastic cultures developed independently in Upper and Lower Egypt. The Badarian culture and the successor Naqada series are generally regarded as precursors to Dynastic Egyptian civilization. The earliest known Lower Egyptian site, Merimda, predates the Badarian by about seven hundred years. Contemporaneous Lower Egyptian communities coexisted with their southern counterparts for more than two thousand years, remaining somewhat culturally separate, but maintaining frequent contact through trade. The earliest known evidence of Egyptian hieroglyphic inscriptions appeared during the predynastic period on Naqada III pottery vessels, dated to about 3200 BC.
A unified kingdom was founded circa 3150 BC by King Menes, giving rise to a series of dynasties that ruled Egypt for the next three millennia. Egyptians subsequently referred to their unified country as tawy, meaning "two lands", and later kemet, the "black land", a reference to the fertile black soil deposited by the Nile river. Egyptian culture flourished during this long period and remained distinctively Egyptian in its religion, arts, language and customs. The first two ruling dynasties of a unified Egypt set the stage for the Old Kingdom period, c.2700−2200 BC., famous for its many pyramids, most notably the Third Dynasty pyramid of Djoser and the Fourth Dynasty Giza Pyramids.
Great Sphinx of Giza
The First Intermediate Period ushered in a time of political upheaval for about 150 years. Stronger Nile floods and stabilization of government, however, brought back renewed prosperity for the country in the Middle Kingdom c. 2040 BC, reaching a peak during the reign of Pharaoh Amenemhat III. A second period of disunity heralded the arrival of the first foreign ruling dynasty in Egypt, that of the Semitic Hyksos. The Hyksos invaders took over much of Lower Egypt around 1650 BC and founded a new capital at Avaris. They were driven out by an Upper Egyptian force led by Ahmose I, who founded the Eighteenth Dynasty and relocated the capital from Memphis to Thebes.
The New Kingdom (c.1550−1070 BC) began with the Eighteenth Dynasty, marking the rise of Egypt as an international power that expanded during its greatest extension to an empire as far south as Jebel Barkal in Nubia, and included parts of the Levant in the east. This period is noted for some of the most well-known Pharaohs, including Hatshepsut, Thutmose III, Akhenaten and his wife Nefertiti, Tutankhamun and Ramesses II. The first historically attested expression of monotheism came during this period in the form of Atenism. Frequent contacts with other nations brought new ideas to the New Kingdom. The country was later invaded by Libyans, Nubians and Assyrians, but native Egyptians drove them out and regained control of their country.
The Hanging Church of Cairo, first built in the third or fourth century AD, is one of the most famous Coptic Churches in Egypt.
The Thirtieth Dynasty was the last native ruling dynasty during the Pharaonic epoch. It fell to the Persians in 343 BC after the last native Pharaoh, King Nectanebo II, was defeated in battle. Later, Egypt fell to the Greco–Macedonians and Romans, beginning over two thousand years of foreign rule. The last ruler from the Ptolemaic line was Cleopatra VII, who committed suicide with her lover Marc Antony, after Caesar Augustus had captured them.
Before Egypt became part of the Byzantine realm, Christianity had been brought by Saint Mark the Evangelist in the AD first century. Diocletian's reign marked the transition from the Roman to the Byzantine era in Egypt, when a great number of Egyptian Christians were persecuted. The New Testament had by then been translated into Egyptian. After the Council of Chalcedon in AD 451, a distinct Egyptian Coptic Church was firmly established.
The Byzantines were able to regain control of the country after a brief Persian invasion early in the seventh century, until in AD 639, Egypt was Adopted to Islamic Empire by the Muslim Arabs. when they Defeated The Byzantine Armies in Egypt by Help of Some Revolutionary Egyptians, the form of Islam the Arabs brought to Egypt was Sunni. Early in this period, Egyptians began to blend their new faith with indigenous beliefs and practices that had survived through Coptic Christianity that was Expanded in Egypt by the Byzantines, giving rise to various Sufi orders that have flourished to this day. Muslim rulers nominated by the Islamic Caliphate remained in control of Egypt for the next six centuries, including The late 3 Centuries of them Egypt was Maintained Their Own Empire, Away of The Abbasi Caliphate for which Cairo was the seat of the Caliphate under the Fatimids. With the end of the Ayyubid dynasty, the Mamluks, a Turco-Circassian military caste, took control about AD 1250. They continued to govern the country until the conquest of Egypt by the Ottoman Turks in 1517, after which it became a province of the Ottoman Empire. The mid-14th-Century Black Death killed about 40% of the country's population.