The history of Ancient Egypt spans the period from the early predynastic settlements of the northern Nile Valley to the Roman conquest in 30 BC. The Pharaonic Period is dated from around 3200 BC, when Lower and UpperEgypt became a unified state, until the country fell under Macedonian rule in 332 BC.