18 But King Ptolemy died three days later, and his troops in the fortress were killed by the inhabitants of the towns.