For generations the Jews of Cairo celebrated the story of their own deliverance between Purim and Pesah:
After 1517 Egypt came under the rule of the Mamluks and became an Ottoman province. But the viceroy remained a Mamluk. Jews from Spain had taken refuge in Egypt after 1492. One was Abraham de Castro, whom the sultan of Constantinople, Selim 1st, had entrusted with minting new coinage.
But the viceroy, Ahmed Schaitan, wanted to get rid of the sultan's control and seize power for himself in an independent Egypt. He ordered Abraham de Castro to produce new coins stamped with his likeness. De Castro pretended to obey, left Egypt for Constantinople and told the sultan of Ahmed's rebellion.
Having got wind of De Castro's denunciation, Ahmed seized several Jews, threw them in jail and pillaged the Jewish quarter. He kidnapped 12 community leaders and unless he was paid a hefty ransom threatened to kill them.
A delegation offered Ahmed what money they were able to collect. Ahmed had them locked up and told them they would be executed together with the rest of the community on that very day.