Zimri went up to him, attacked him, and killed him. This was in the twenty-seventh year of the reign of Asa, king of Judah. Then he took over from him as king.