Athaliah Seizes the Throne

10 Now when Athaliah, Ahaziah's mother, saw that her son was dead, she set about to destroy all the royal family of the house of Judah. 11 But Jehoshabeath, the king's daughter, 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 Jehoshabeath, daughter of King Jehoram and wife of the priest Jehoiada—because she was a sister of Ahaziah—hid him from Athaliah, so that she did not kill him; 12 he remained with them six years, hidden in the house of God, while Athaliah reigned over the land.

But in the seventh year Jehoiada took courage, and entered into a compact with the commanders of the hundreds, Azariah son of Jeroham, Ishmael son of Jehohanan, Azariah son of Obed, Maaseiah son of Adaiah, and Elishaphat son of Zichri. 2 They went around through Judah and gathered the Levites from all the towns of Judah, and the heads of families of Israel, and they came to Jerusalem. 3 Then the whole assembly made a covenant with the king in the house of God. Jehoiada[a] said to them, "Here is the king's son! Let him reign, as the Lord promised concerning the sons of David. 4 This is what you are to do: one-third of you, priests and Levites, who come on duty on the sabbath, shall be gatekeepers, 5 one-third shall be at the king's house, and one-third at the Gate of the Foundation; and all the people shall be in the courts of the house of the Lord. 6 Do not let anyone enter the house of the Lord except the priests and ministering Levites; they may enter, for they are holy, but all the other[b] people shall observe the instructions of the Lord. 7 The Levites shall surround the king, each with his weapons in his hand; and whoever enters the house shall be killed. Stay with the king in his comings and goings."