But then the people of Judah killed all those who had assassinated King Amon, and they appointed his son Josiah to be their king.