But when Jonathan entered Ptolemais, the people of the city locked the gates, arrested him, and killed everyone who had come with him.