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.
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.
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.
This is what you must do: One third of you, the priests and Levites who are on duty on the day of worship, must guard the gates
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.
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.
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."
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 worship as well as those who were about to go off duty. Jehoiada had not dismissed the priestly divisions.
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.
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).
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!"
When Athaliah heard the people running and praising the king, she went into the LORD's temple, where the people were.
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!"
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."
So they arrested her as she entered Horse Gate of the royal palace, and they killed her there.
Jehoiada made a promise to the LORD on behalf of the king and his people that they would be the LORD's people.
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.
Next, Jehoiada appointed officials to be in charge of the LORD's temple under the direction of the priests and Levites. (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.)
Jehoiada appointed gatekeepers for the gates of the LORD's temple so that no one who was unclean for any reason could enter
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
all the people of the land were celebrating. But the city was quiet because they had killed Athaliah with a sword