In the seventh year of Athaliah's reign, Jehoiada the priest decided to act. He got up his courage and made a pact with five army commanders: Azariah son of Jeroham, Ishmael son of Jehohanan, Azariah son of Obed, Maaseiah son of Adaiah, and Elishaphat son of Zicri.
These men traveled secretly throughout Judah and summoned the Levites and clan leaders in Judah's towns to come to Jerusalem.
They all gathered at the Temple of God, where they made a covenant with Joash, the young king. Jehoiada said to them, "The time has come for the king s son to reign! The LORD has promised that a descendant of David will be our king.
This is what you must do. When the priests and Levites come on duty on the Sabbath, a third of them will serve as gatekeepers
Another third will go over to the royal palace, and the final third will be at the Foundation Gate. Everyone else should stay in the courtyards of the LORD's Temple.
Remember, only the priests and Levites on duty may enter the Temple of the LORD, for they are set apart as holy. The rest of the people must obey the LORD's instructions and stay outside.
You Levites, form a bodyguard for the king and keep your weapons in hand. Any unauthorized person who enters the Temple must be killed. Stay right beside the king at all times."
So the Levites and the people did everything just as Jehoiada the priest ordered. The commanders took charge of the men reporting for duty that Sabbath, as well as those who were going off duty. Jehoiada the priest did not let anyone go home after their shift ended.
Then Jehoiada supplied the commanders with the spears and shields that had once belonged to King David and were stored in the Temple of God.
He stationed the guards around the king, with their weapons ready. They formed a line from the south side of the Temple around to the north side and all around the altar.
Then Jehoiada and his sons brought out Joash, the king's son, and placed the crown on his head. They presented Joash with a copy of God's laws and proclaimed him king. Then they anointed him, and everyone shouted, "Long live the king!"
When Athaliah heard the noise of the people running and the shouts of praise to the king, she hurried to the LORD's Temple to see what was happening.
And she saw the newly crowned king standing in his place of authority by the pillar at the Temple entrance. The officers and trumpeters were surrounding him, and people from all over the land were rejoicing and blowing trumpets. Singers with musical instruments were leading the people in a great celebration. When Athaliah saw all this, she tore her clothes in despair and shouted, "Treason! Treason!"
Then Jehoiada the priest ordered the commanders who were in charge of the troops, "Take her out of the Temple, and kill anyone who tries to rescue her. Do not kill her here in the Temple of the LORD."
So they seized her and led her out to the gate where horses enter the palace grounds, and they killed her there.
Then Jehoiada made a covenant between himself and the king and the people that they would be the LORD's people.
And all the people went over to the temple of Baal and tore it down. They demolished the altars and smashed the idols, and they killed Mattan the priest of Baal in front of the altars.
Jehoiada now put the Levitical priests in charge of the Temple of the LORD, following all the instructions given by David. He also commanded them to present burnt offerings to the LORD, as prescribed by the law of Moses, and to sing and rejoice as David had instructed.
He stationed gatekeepers at the gates of the LORD's Temple to keep those who were ceremonially unclean from entering
Then the commanders, nobles, rulers, and all the people escorted the king from the Temple of the LORD. They went through the Upper Gate and into the palace, and they seated the king on the royal throne.
So all the people of the land rejoiced, and the city was peaceful because Athaliah had been killed