When Zimri saw that the city had been captured, he went into the palace and set it on fire, burning the palace and himself with it.