Zimri saw that the city had been captured. So he went into the palace and set it on fire. He burned the palace and himself with it.