1 But in the seventh year Jehoiada boldly formed a conspiracy with the following unit commanders: Jeroham’s son Azariah, Jehohanan’s son Ishmael, Obed’s son Azariah, Adaiah’s son Maaseiah, and Zichri’s son Elishaphat.
2 They went throughout Judah recruiting the Levites from all the cities of Judah, as well as the family heads of Israel, who then came to Jerusalem.
3 The entire assembly made a covenant with the king in God’s temple. Jehoiada said, "Look! Here is the king’s son. He must be king, just as the Lord promised about David’s descendants.
4 This is what you must do: A third of you priests and Levites coming on sabbath duty will guard the gates,
5 another third will be at the royal palace, and another third will be at the Foundation Gate. Meanwhile, all the people will be in the courtyards of the Lord’s temple.
6 Don’t enter the Lord’s temple, because only the priests or Levites on duty can do that. They are allowed to enter because they are holy, but the rest of the people must follow the Lord’s requirements.
7 The Levites must surround the king, each with his weapons drawn. Whoever comes near your ranks must be killed; stay near the king wherever he goes."
8 The Levites and all Judah did everything that the priest Jehoiada ordered. They each took charge of those men reporting for duty on the Sabbath, as well as those going off duty, since Jehoiada hadn’t released any divisions from duty.
9 Then the priest Jehoiada gave the unit commanders King David’s spears and large and small shields that were kept in God’s temple.
10 He positioned all the people, each with their weapons drawn, near the altar and the temple, stretching from the south side of the temple to the north side, so as to protect the king.
11 Then they brought out the king’s son, crowned him, gave him the royal law, and made him king. Jehoiada and his sons anointed him as everyone cried out, "Long live the king!"
12 When Athaliah heard the noise made by the people running and cheering the king, she went to the people at the Lord’s temple
13 and saw the king standing by the royal pillar at the entrance, with the commanders and trumpeters beside the king. All the people of the land were rejoicing and blowing trumpets, and singers accompanied by musical instruments were leading the praise. Athaliah ripped her clothes and screamed, "Treason! Treason!"
14 Then the priest Jehoiada brought out the unit commanders who were in charge of the army. "Take her out under guard," he told them, "and kill anyone who follows her." This was because the priest had said, "She must not be executed in the Lord’s temple."
15 They arrested her when she reached the entrance of the Horse Gate at the royal palace. She was executed there.
16 Jehoiada then made a covenant between himself, all the people, and the king, that they would be the Lord’s people.
17 Then all the people went to Baal’s temple and tore it down, smashing its altars and images into pieces. They executed Baal’s priest Mattan in front of the altars.
18 Jehoiada appointed the priests and Levites in charge of the Lord’s temple, and then appointed the divisions of the priests and Levites that David had assigned to the Lord’s temple to offer entirely burned sacrifices to the Lord, as written in the Instruction from Moses, with rejoicing and singing, just as David had ordered.
19 He posted guards at the gates of the Lord’s temple so that no one who was unclean in any way could enter.
20 Then he took the unit commanders, the officials, the rulers of the people, and all the people of the land, and they led the king down from the Lord’s temple, processing through the Upper Gate to the palace, where the king sat upon the royal throne.
21 All the people of the land rejoiced, and the city was at peace now that Athaliah had been executed at the palace.