The Second Intermediate Period (1786-1567BC)
The Thirteenth and Fourteenth Dynasties were powerless to put down the Hyskos, tribal warlords with foreign support who seized control of the Delta, establishing the capital of Avaris and moving south. Despite their alien origins (Hyskos means "Princes of Foreign Lands") and foreign ties, the Hyskos assumed an Egyptian identity and ruled as pharaohs.
The Hyskos dominion was shaken by Thebes which established the Seventeenth Dynasty and, under Wadikheperre Kamose, laid siege to Avaris. When his successor Ahmosis expelled the Hyskos from Egypt in 1567BC, the New Kingdom was born.