11Now when 2Athaliah the mother of Ahaziah saw that her son was dead, she arose and destroyed all the royal family.
But Jehosheba, the daughter of King Joram, sister of Ahaziah, took 3Joash the son of Ahaziah and stole him away from among the king's sons who were being put to death, and she puta him and his nurse in a bedroom. Thus theyb hid him from Athaliah, so that he was not put to death.
And he remained with her six years, hidden in the house of the LORD, while Athaliah reigned over the land.
44But in the seventh year 5Jehoiada sent and brought the captains of 6the Carites and of the guards, and had them come to him in the house of the LORD. And he made a covenant with them and put them under oath in the house of the LORD, and he showed them the king's son.
And he commanded them, "This is the thing that you shall do: one third of you, 7those who come off duty on the Sabbath and guard the king's house
(8another third being at the gate Sur and a third at the gate behind the guards) shall guard the palace.c7
And the two divisions of you, which come on duty in force on the Sabbath and guard the house of the LORD on behalf of the king,
shall surround the king, each with his weapons in his hand. And whoever approaches the ranks is to be put to death. Be with the king 9when he goes out and when he comes in."
The captains did according to all that Jehoiada the priest commanded, and they 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 Jehoiada the priest.
And the priest gave to the captains the spears and 10shields that had been King David's, which were in the house of the LORD.
And 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 on behalf of the king.
Then he brought out the king's son and put 11the crown on him and gave him 12the testimony. And they proclaimed him king and anointed him, and they clapped their hands and said, 13"Long live the king!"
When Athaliah heard the noise of the guard and of the people, she went into the house of the LORD to the people.
And when she looked, there was the king standing 14by the pillar, according to the custom, and the captains and the trumpeters beside the king, and all the people of the land rejoicing and 15blowing trumpets. And Athaliah 16tore her clothes and cried, "Treason! Treason!"
Then Jehoiada the priest commanded the captains who were set over the army, "Bring her out between the ranks, and put to death with the sword anyone who follows her." For the priest said, "Let her not be put to death in the house of the LORD."
So they laid hands on her; and she went through the horses' entrance to the king's house, and there she was put to death.
And Jehoiada 17made a covenant between the LORD and the king and people, that they should be the LORD's people, and also 18between the king and the people.
Then all the people of the land went to 19the house of Baal and tore it down; 20his altars and his images they broke in pieces, and they killed Mattan the priest of Baal before the altars. And the priest posted watchmen over the house of the LORD.
And he took the captains, 21the Carites, the guards, and all the people of the land, and they brought the king down from the house of the LORD, marching through 22the gate of the guards to the king's house. And he took his seat on the throne of the kings.
So all the people of the land rejoiced, and the city was quiet after Athaliah had been put to death with the sword at the king's house.