Question: What was the first foreign ruling dynasty of Egypt?
Sentence: They were driven out by an Upper Egyptian force led by Ahmose I, who founded the Eighteenth Dynasty and relocated the capital from Memphis to Thebes.
Answer in sentence: no