But when Jonathan entered Ptolemais, the people there closed the gates and captured him, and killed with their swords all those who had entered with him.