1. Then, in the seventh year, Jehoiada summoned his courage and took the commanders of hundreds into a covenant with him: Azariah son of Jeroham, Ishmael son of Jehohanan, Azariah son of Obed, Maaseiah son of Adaiah, and Elishaphat son of Zichri.
2. They made a circuit throughout Judah. They gathered the Levites from all the cities of Judah and the heads of the families of Israel, and they came to Jerusalem.
3. Then the whole assembly made a covenant with the king in God's temple. Jehoiada said to them, "Here is the king's son! He must reign, just as the LORD promised concerning David's sons.
4. This is what you are to do: one third of you, priests and Levites who are coming on duty on the Sabbath, are to be gatekeepers.
5. A third are to be at the king's palace, and a third are to be at the Foundation Gate, and all the troops will be in the courtyards of the LORD's temple.
6. No one is to enter the LORD's temple but the priests and those Levites who serve; they may enter because they are holy, but all the people are to obey the requirement of the LORD.
7. You must completely surround the king with weapons in hand. Anyone who enters the temple is to be put to death. You must be with the king in all his daily tasks."
8. So the commanders of hundreds did everything Jehoiada the priest commanded. They each brought their men-- those coming on duty on the Sabbath and those going off duty on the Sabbath-- for Jehoiada the priest did not release the divisions.
9. Jehoiada the priest gave to the commanders of hundreds King David's spears, shields, and quivers that were in God's temple.
10. Then he stationed all the troops with their weapons in hand surrounding the king-- from the right side of the temple to the left side, by the altar and by the temple.
11. They brought out the king's son, put the crown on him, gave him the testimony, and made him king. Jehoiada and his sons anointed him and cried, "Long live the king!"
12. When Athaliah heard the noise from the troops, the guards, and those praising the king, she went to the troops in the LORD's temple.
13. As she looked, there was the king standing by his pillar at the entrance. The commanders and the trumpeters were by the king, and all the people of the land were rejoicing and blowing trumpets while the singers with musical instruments were leading the praise. Athaliah tore her clothes and screamed, "Treason, treason!"
14. Then Jehoiada the priest sent out the commanders of hundreds, those in charge of the army, saying, "Take her out between the ranks, and put anyone who follows her to death by the sword," for the priest had said, "Don't put her to death in the LORD's temple."
15. So they arrested her, and she went by the entrance of the Horses' Gate to the king's palace, where they put her to death.
16. Then Jehoiada made a covenant between himself, the king, and the people that they would be the LORD's people.
17. So all the people went to the temple of Baal and tore it down. They broke its altars and images into pieces and killed Mattan, the priest of Baal, at the altars.
18. Then Jehoiada put the oversight of the LORD's temple into the hands of the Levitical priests, whom David had appointed over the LORD's temple, to offer burnt offerings to the LORD as it is written in the law of Moses, with rejoicing and song ordained by David.
19. He stationed gatekeepers at the gates of the LORD's temple so that nothing unclean could enter for any reason.
20. Then he took [with him] the commanders of hundreds, the nobles, the governors of the people, and all the people of the land and brought the king down from the LORD's temple. They entered the king's palace through the upper [gate] and seated the king on the throne of the kingdom.
21. All the people of the land rejoiced, and the city was quiet, for they had put Athaliah to death by the sword.