عموري الأول
The city played a role in the machinations for control of the Fatimid vizierate: first in 1164, when Shirkuh was besieged in the city by the combined forces of Shawar and crusader king Amalric I of Jerusalem for three months; then again in 1168 when the city was assaulted again by Amalric's army, who took the city after three days on 4 November and indiscriminately killed the inhabitants. This atrocity angered the Coptic Egyptians, who had seen the Crusaders as deliverers but had suffered as much as the Muslim inhabitants of Bilbeis. Many of the Copts ended their support of the Crusaders after this. (See Crusader invasion of Egypt.)