Apopis I, the last great Hyksos king of Egypt, who reigned from about 1585 BE to 1542 BCE, had initially controlled most of Egypt but is driven back northward to the vicinity of his capital in the Nile River delta by the successive attacks of the Theban pharaohs.
Apopis is attested in Upper Egypt by stone fragments from Al-Gabalayn that show his name surrounded by the sun disks of the solar god, Re.
A story concerning Apopis and the Theban king Seqenenre shows that the Thebans were vassals of the Hyksos ruler.
Egyptians and Hyksos peacefully coexisted for some time, as the Thebans grazed their cattle in the Nile delta, which was ruled by the Hyksos.
Apopis quarreled with Seqenenre, and war may have erupted.
The Theban king's mummy displays terrible head wounds.
His successor, Kamose, declares a Middle Egyptian town as his northern frontier.
He carries on the war, as is shown by two monuments from Thebes, and drives the Hyksos northward to the vicinity of Memphis (near Cairo).
A Theban fleet also sails by Avaris, Apopis' delta capital.
Apopis reactes by calling on his ally to the south, the Cushite prince, to attack the Thebans in their rear.
His messenger is intercepted, however, and his plan is thwarted by Kamose.
Apopis dies some time soon after this raid, but before the final Hyksos expulsion.
He honored the sun god, Re, and had many collaborators in Middle and Lower Egyp, contrary to later Egyptian propaganda.