An Egyptian version of the tale that crosses over with the Moses story is found in Manetho who, according to the summary in Josephus, wrote that a certain Osarseph, a Heliopolitan priest, became overseer of a band of lepers, when Amenophis, following indications by Amenhotep, son of Hapu, had all the lepers in Egypt quarantined in order to cleanse the land so that he might see the gods. The lepers are bundled into Avaris, the former capital of the Hyksos, where Osarseph prescribes for them everything forbidden in Egypt, while proscribing everything permitted in Egypt. They invite the Hyksos to reinvade Egypt, rule with them for 13 years – Osarseph then assumes the name Moses – and are then driven out.