Who was the First King of Egypt?

The first King of Egypt is said to be Menes. He built the Egyptian city Memphis and did do by first constructing a dam. The Roman also credit him with inventing writing.