Egypt was unified under Pharaoh Menes in 3100 BCE, establishing the Old Kingdom and dynastic order. During this time, Egypt occupied and raided Nubia in Sudan, expanding its territory and influence. Menes also oversaw the introduction of hieroglyphic writing and construction of huge pyramids.