Amenemhat II
Rather than building his own monuments, Apepi generally usurped the monuments of previous pharaohs by inscribing his own name over two sphinxes of Amenemhat II and two statues of Imyremeshaw. Apepi is thought to have usurped the throne of northern Egypt after the death of his predecessor, Khyan, since the latter had designated his son, Yanassi, to be his successor on the throne as a foreign ruler. He was succeeded by Khamudi, the last Hyksos ruler. Ahmose I, who drove out the Hyksos kings from Egypt, established the 18th Dynasty.