But Jehosheba, King Joram's daughter, Ahaziah's sister, took Joash son of Ahaziah, and stole him away from among the king's children who were about to be killed; she put him and his nurse in a bedroom. Thus she hid him from Athaliah, so that he was not killed;
But in the seventh year Jehoiada summoned the captains of the Carites and of the guards and had them come to him in the house of the LORD. He made a covenant with them and put them under oath in the house of the LORD; then he showed them the king's son.
The captains did according to all that the priest Jehoiada commanded; each brought his men who were to go off duty on the sabbath, with those who were to come on duty on the sabbath, and came to the priest Jehoiada.
the guards stood, every man with his weapons in his hand, from the south side of the house to the north side of the house, around the altar and the house, to guard the king on every side.
Then he brought out the king's son, put the crown on him, and gave him the covenant; they proclaimed him king, and anointed him; they clapped their hands and shouted, "Long live the king!"
when she looked, there was the king standing by the pillar, according to custom, with the captains and the trumpeters beside the king, and all the people of the land rejoicing and blowing trumpets. Athaliah tore her clothes and cried, "Treason! Treason!"
Then the priest Jehoiada commanded the captains who were set over the army, "Bring her out between the ranks, and kill with the sword anyone who follows her." For the priest said, "Let her not be killed in the house of the LORD."
Then all the people of the land went to the house of Baal, and tore it down; his altars and his images they broke in pieces, and they killed Mattan, the priest of Baal, before the altars. The priest posted guards over the house of the LORD.
He took the captains, the Carites, the guards, and all the people of the land; then they brought the king down from the house of the LORD, marching through the gate of the guards to the king's house. He took his seat on the throne of the kings.