23 In the seventh year of Athaliah’s reign, Jehoiada strengthened his position by making an agreement with the company commanders: Azariah, son of Jeroham, Ishmael, son of Jehohanan, Azariah, son of Obed, Maaseiah, son of Adaiah, and Elishaphat, son of Zichri. 2 They went around Judah, gathered the Levites from all the cities of Judah and the leaders of the families of Israel, and came to Jerusalem. 3 The whole assembly made an agreement with the king in God’s temple.
Then Jehoiada said to them, “Here is the king’s son. He should be king, as the Lord said about David’s descendants. 4 This is what you must do: One third of you, the priests and Levites who are on duty on the day of rest—a holy day, must guard the gates. 5 Another third must be at the royal palace. And another third must be at Foundation Gate. All the people must be in the courtyards of the Lord’s temple. 6 No one should come into the Lord’s temple except the priests and the Levites who are on duty with them. They may enter because they are holy, but all other people should follow the Lord’s regulations. 7 The Levites should surround the king. Each man should have his weapon in his hand. Kill anyone who tries to come into the temple. Stay with the king wherever he goes.”
8 So the Levites and all the Judeans did what the priest Jehoiada had ordered them. Each took his men who were coming on duty on the day of rest—a holy day, as well as those who were about to go off duty. Jehoiada had not dismissed the priestly divisions.
9 Jehoiada gave the commanders the spears and the small and large shields that had belonged to King David but were now in God’s temple. 10 All the troops stood with their weapons drawn. They were stationed around the king and around the altar and the temple (from the south side to the north side of the temple). 11 Then they brought out the king’s son, gave him the crown and the religious instructions, and Jehoiada and his sons made him king by anointing him. They said, “Long live the king!”
12 When Athaliah heard the people running and praising the king, she went into the Lord’s temple, where the people were. 13 She looked, and the king was standing by the pillar at the entrance. The commanders and the trumpeters were by his side. All the people of the land were rejoicing and blowing trumpets. The singers were leading the celebration with songs accompanied by musical instruments. As Athaliah tore her clothes ⌞in distress⌟, she said, “Treason, treason!”
14 Then the priest Jehoiada brought the company commanders who were in charge of the army out ⌞of the temple⌟. He said to them, “Take her out of the temple. Use your sword to kill anyone who follows her.” (The priest had said, “Don’t kill her in the Lord’s temple.”) 15 So they arrested her as she entered Horse Gate of the royal palace, and they killed her there.
16 Jehoiada made a promise to the Lord on behalf of the king and his people that they would be the Lord’s people. 17 Then all the people went to the temple of Baal and tore it down. They smashed Baal’s altars and his statues and killed Mattan, the priest of Baal, in front of the altars.
18 Next, Jehoiada appointed officials to be in charge of the Lord’s temple under the direction of the priests and Levites.[a] (David had arranged them in divisions for the Lord’s temple. They were appointed to sacrifice burnt offerings to the Lord as it is written in Moses’ Teachings. They made these offerings with joy and singing as David had directed.) 19 Jehoiada appointed gatekeepers for the gates of the Lord’s temple so that no one who was unclean [b] for any reason could enter.
20 He took the company commanders, the nobles, the people’s governors, and all the people of the land, and they brought the king from the Lord’s temple. They went through Upper Gate to the royal palace and seated the king on the royal throne. The nobles, the governors of the people, and 21 all the people of the land were celebrating. But the city was quiet because they had killed Athaliah with a sword.