who was the first pharoh to unite the upper and lower kingdoms of ancient egypt

The first pharaoh to unite the Upper and Lower Kingdoms of Ancient Egypt was Pharaoh Narmer, who ruled around 3100 BCE. He is also known as Menes.