Archaeological evidence indicates that a distinct culture was developing in the Nile valley from before 5000 BC. What is now called the Pharaonic Period is dated from around 3100 BC, when Egypt became a unified state, until its survival as an independent state ceased in 332 BC, with its conquest by Alexander the Great. It was subsequently ruled by the Greek Ptolemaic Kings.
See more at Wikipedia.org...