2 Chronicles 33:25

But the people of the land slew all them that had conspired against king Amon; and the people of the land made Josiah his son king in his stead.

Amon's reign was brief and wicked, and it came to an end when he was assassinated. He was killed by his own servants. The people of the land then slew all those who had conspired against him. Afterward the people of the land made his son Josiah king in his place, and Josiah came to the throne at eight years old.