2Jehosheba, who was King Jehoram's daughter and Ahaziah's sister, secretly rescued Joash son of Ahaziah from among the king's sons who were being killed and put him and the one who nursed him in a bedroom. So he was hidden from Athaliah and was not killed.
4In the seventh year, Jehoiada sent for the commanders of hundreds, the Carites, and the guards. He had them come to him in the LORD's temple, where he made a covenant with them and put them under oath. He showed them the king's son
9So the commanders of hundreds did everything the priest Jehoiada commanded. They each brought their men--those coming on duty on the Sabbath and those going off duty--and came to the priest Jehoiada.
11Then the guards stood with their weapons in hand surrounding the king--from the right side of the temple to the left side, by the altar and by the temple.
12Jehoiada brought out the king's son, put the crown on him, gave him the testimony, and made him king. They anointed him and clapped their hands and cried, "Long live the king!"
14She looked, and there was the king standing by the pillar according to the custom. The commanders and the trumpeters were by the king, and all the people of the land were rejoicing and blowing trumpets. Athaliah tore her clothes and screamed "Treason! Treason!"
15Then the priest Jehoiada ordered the commanders of hundreds in charge of the army, "Take her out between the ranks, and put to death by the sword anyone who follows her," for the priest had said, "She is not to be put to death in the LORD's temple."
17Then Jehoiada made a covenant between the LORD, the king, and the people that they would be the LORD's people and another covenant between the king and the people.
18So all the people of the land went to the temple of Baal and tore it down. They smashed its altars and images to pieces, and they killed Mattan, the priest of Baal, at the altars. Then Jehoiada the priest appointed guards for the LORD's temple.
19He took the commanders of hundreds, the Carites, the guards, and all the people of the land, and they brought the king from the LORD's temple. They entered the king's palace by way of the guards' gate. Then Joash sat on the throne of the kings.