14 Straight away, Jehoiada said to the army commanders, “Don't kill her near the Lord's temple. Take her out in front of the troops, and be sure to kill all her followers!”
15 She tried to escape, but the commanders caught and killed her near the gate where horses are led into the palace.
16 Jehoiada asked King Joash and the people to join with him in being faithful to the Lord. They agreed,
17 then rushed to the temple of the god Baal and tore it down. They smashed the altars and the idols and killed Mattan the priest of Baal in front of the altars.
18 Jehoiada assigned the priests and Levites their duties at the temple, just as David had done. They were in charge of offering sacrifices to the Lord according to the Law of Moses, and they were responsible for leading the celebrations with singing.
19 Jehoiada ordered the guards at the temple gates to keep out anyone who was unclean.
20 Finally, Jehoiada called together the army commanders, the most important citizens of Judah, and the government officials. The crowd of people followed them as they led Joash from the temple, through the Upper Gate, and into the palace, where he took his place as king of Judah.