In the seventh year of Athaliah’s reign, Jehoiada the priest summoned the commanders, the Carite mercenaries, and the palace guards to come to the Temple of the Lord . He made a solemn pact with them and made them swear an oath of loyalty there in the Lord ’s Temple; then he showed them the king’s son.
5 Jehoiada told them, “This is what you must do. A third of you who are on duty on the Sabbath are to guard the royal palace itself. 6 Another third of you are to stand guard at the Sur Gate. And the final third must stand guard behind the palace guard. These three groups will all guard the palace. 7 The other two units who are off duty on the Sabbath must stand guard for the king at the Lord ’s Temple. 8 Form a bodyguard around the king and keep your weapons in hand. Kill anyone who tries to break through. Stay with the king wherever he goes.”
So the commanders did everything 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. They brought them all to Jehoiada the priest,
and he supplied them with the spears and small shields that had once belonged to King David and were stored in the Temple of the Lord .
The palace guards stationed themselves 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 brought out Joash, the king’s son, placed the crown on his head, and presented him with a copy of God’s laws. 1 They anointed him and proclaimed him king, and everyone clapped their hands and shouted, “Long live the king!”
13 When Athaliah heard all the noise made by the palace guards and the people, she hurried to the Lord ’s Temple to see what was happening. 14 When she arrived, she saw the newly crowned king standing in his place of authority by the pillar, as was the custom at times of coronation. The commanders and trumpeters were surrounding him, and people from all over the land were rejoicing and blowing trumpets. When Athaliah saw all this, she tore her clothes in despair and shouted, “Treason! Treason!” 15 Then Jehoiada the priest ordered the commanders who were in charge of the troops, “Take her to the soldiers in front of the Temple, 2 and kill anyone who tries to rescue her.” For the priest had said, “She must not be killed in the Temple of the Lord .” 16 So they seized her and led her out to the gate where horses enter the palace grounds, and she was killed there.
17 Then Jehoiada made a covenant between the Lord and the king and the people that they would be the Lord ’s people. He also made a covenant between the king and the people. 18 And all the people of the land went over to the temple of Baal and tore it down. They demolished the altars and smashed the idols to pieces, and they killed Mattan the priest of Baal in front of the altars. Jehoiada the priest stationed guards at the Temple of the Lord . 19 Then the commanders, the Carite mercenaries, the palace guards, and all the people of the land escorted the king from the Temple of the Lord . They went through the gate of the guards and into the palace, and the king took his seat on the royal throne. 20 So all the people of the land rejoiced, and the city was peaceful because Athaliah had been killed at the king’s palace.