The Sixteenth Dynasty in Ancient Egypt
In the second intermediate period, Lower Egypt was ruled by the fourteenth dynasty, and the ascension of the fifteenth dynasty (the "Hyksos") in Avares changed geopolitics.
The fourteenth dynasty was replaced by the sixteenth dynasty, which is subject to the Kings of the Hyksos, while the late thirteenth dynasty in Thebes was replaced by the early seventeenth dynasty.
The seventeenth Dynasty kings first ended the sixteenth dynasty and continued to drive the Hyksos; after the reunification of Egypt, it was known as the Eighteenth Dynasty, the first dynasty of the new kingdom.