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.
21 Everyone celebrated because Athaliah had been killed and Jerusalem was peaceful again.