They were driven out of Lower Egypt by Ahmose I who founded the 18th Dynasty , ruling over a united Egypt from a capital at Thebes .
Ahmose I ruled Egypt with an iron fist , driving them out of Lower Egypt .