how long did the first king of egypt live