Around 2160 BC, a new line of pharaohs tried to reunite Lower Egypt from their capital in Herakleopolis Magna. Another line of pharaohs at Thebes was reuniting Upper Egypt and a clash between the two rival dynasties was inevitable.