1Now when Athaliah the mother of Ahaziah saw that her son was dead, she set out to destroy all the royal seed.
2But Jehosheba the daughter of King Joram, sister of Ahaziah, took Joash the son of Ahaziah, he and his nurse, and stole him away from among the king’s sons who were being put to death and hid them in a bedroom, and they hid him from Athaliah so that he was not killed.
3And he was with her, hiding in the house of Yahweh for six years, while Athaliah reigned over the land.
4And in the seventh year, Jehoiada sent and brought the commanders over hundreds of the Carites and of the guards and brought them to him into the house of Yahweh, and he cut a covenant with them and had them take an oath in the house of Yahweh and he showed them the king’s son.
5And he commanded them, saying, “This is the thing that you are to do: a third part of you, of those who are coming in on the Sabbath are to keep watch over the king’s house,
6a third part are to be at the Sur Gate and a third part are to be at the gate behind the guards, and you are to keep the watch of the house for defense.
7The two companies of you, all who go off duty on the Sabbath, are to keep watch over the house of Yahweh on behalf of the king.
8You must surround the king, every man with his weapons in his hand, and he who comes inside the ranks is to be put to death. Be with the king when he goes out and when he comes in.”
9So the commanders over hundreds did according to all that Jehoiada the priest commanded, and each one of them took his men, those who were going on duty on the Sabbath and those who were going off duty on the Sabbath, and came to Jehoiada the priest.
10The priest gave to the commanders over hundreds the spears and shields that had been king David’s, which were in the house of Yahweh.
11The guards took a stand, each man with his weapons in his hand, from the south side of the house to the north side of the house, in front of the altar and in front of the house, all around the king.
13When Athaliah heard the noise of the guards and of the people, she went to the people in the house of Yahweh.
14And she looked, and behold, the king stood by the pillar as the custom was, with the commanders and the trumpeters by the king, and all the people of the land rejoiced and blew trumpets. Then Athaliah tore her clothes and cried out, “Treason! Treason!”
15Jehoiada the priest commanded the commanders of hundreds who were set over the army and said to them, “Bring her outside of the temple, to the ranks, and put to death by the sword anyone who follows.” For the priest said, “Let her not be put to death in the house of Yahweh.”
16So they seized her and when she went through the way that horses enter the king’s house, she was put to death there.
17Then Jehoiada cut a covenant between Yahweh and the king and the people, to be Yahweh’s people, and another between the king and the people.
18All the people went to the house of Baal and broke it down and completely smashed his altars and his images into pieces, and they killed Mattan the priest of Baal in front of the altars. And Jehoiada the priest arranged for oversight of the house of Yahweh.
19He took the commanders over hundreds, and the Carites, and the guards, and all the people of the land, and they brought the king down from the house of Yahweh and went by the way of the Gate of the Guard to the king’s house. Then he sat on the throne of the kings.
20So all the people of the land rejoiced, and the city was quiet now that they had killed Athaliah with the sword at the king’s house.