The people of the land then executed all those who had plotted against King Amon and made his son Josiah the next king.