II Chronicles 33:25 Midrash

וַיַּכּוּ֙ עַם־הָאָ֔רֶץ אֵ֥ת כָּל־הַקֹּֽשְׁרִ֖ים עַל־הַמֶּ֣לֶךְ אָמ֑וֹן וַיַּמְלִ֧יכוּ עַם־הָאָ֛רֶץ אֶת־יֹאשִׁיָּ֥הוּ בְנ֖וֹ תַּחְתָּֽיו׃ (פ)

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.

Read midrashic interpretation of II Chronicles 33:25: and classical rabbinic exegesis.