Anubis was the principal god in the capitals of the XVIIth and XVIIIth nomes of Upper Egypt, and secondary god in the XIIIth and probably in the XIIth nome; but his cult was universal.
Thanks to the great care expended on the preservation of the royal dead, although the mummies of all the other kings have disappeared, a wonderful series of the Theban kings and queens of the New Kingdom from the XVIIth Dynasty to the XXIst Dynasty has come down to us.
Several Theban kings of the later part of the Middle Kingdom adopted the same name; and when the Theban family of the XVIIth dynasty drove out the Hyksos, Ammon, as the god of the royal city, was again prominent.
Began about 1570 B.C., taking what seems to be the utmost interval that it permits, 220 years have to contain a crowd of kings of whom nearly 100 are already known by name from monuments and papyri, while fresh names are being added annually to the long list; the shattered fragments of the last columns in the Turin Papyrus show space for 150 or perhaps _____ - 180 kings of this period, apparently with ~asted Petrie out reaching the XVIIth Dynasty.
Manetho gives us the XIIIth (Diospolite) Dynasty, the XIVth (Xoite from Xois in Lower Egypt), the XVth and XVIth (Hyksos) and the XVIIth (Diospolite), but his names are lost except for the Hyksos kings.
The kings of the XVIIth Dynasty too are generally recognizable by the form of their name and other circumstances.
The XVIIth Dynasty probably began the struggle, at first as semi-independent kinglets at Thebes.