1King Ahaziah's mother Athaliah learned of her son's murder. She gave orders for all the members of the royal family to be killed. 2Only Ahaziah's son Jehoash escaped. He was about to be killed with the others, but was rescued by his aunt Jehosheba, who was King Jehoram's daughter and Ahaziah's half sister. She hid him and his nurse in a bedroom in the Temple. 3Jehosheba took care of the boy and kept him hidden in the Temple for six years. During this time Athaliah ruled as queen. 4In the seventh year Jehoiada the priest sent for the officers in charge of the royal bodyguard and of the palace guards, and told them to come to the Temple. He made them agree under oath to what he planned to do. He showed them King Ahaziah's son Joash 5and gave them the following orders: »When you come on duty on the Sabbath, one third of you are to guard the palace. 6»One third are to stand guard at the Sur Gate. The other third are to stand guard at the gate behind the other guards. 7»The two groups that go off duty on the Sabbath are to stand guard at the Temple to protect the king. 8»You are to guard King Jehoash with drawn swords and stay with him wherever he goes. Anyone who comes near you is to be killed.« 9The officers obeyed Jehoiada's instructions and brought their men to him, those going off duty on the Sabbath and those going on duty. 10He gave the officers the spears and shields that had belonged to King David and had been kept in the Temple. 11He stationed the men with drawn swords all around the front of the Temple, to protect the king. 12Then Jehoiada led Joash out and placed the crown on his head. He gave him a copy of the laws governing kingship. Then Jehoash was anointed and proclaimed king. The people clapped their hands and shouted: »Long live the king!« 13Queen Athaliah heard the noise being made by the guards and the people. She hurried to the Temple, where the crowd had gathered. 14There she saw the new king standing by the column at the entrance of the Temple, as was the custom. The officers and the trumpeters surrounded him, and the people were all shouting joyfully and blowing trumpets. Athaliah tore her clothes in distress and shouted: »Treason! Treason!« 15Jehoiada the priest did not want Athaliah killed in the Temple area. He ordered the army officers: »Take her out between the rows of guards, and kill anyone who tries to rescue her.« 16They seized her and took her to the palace. There at the Horse Gate they killed her. 17The priest Jehoiada had King Jehoash and the people make a covenant with Jehovah that they would be Jehovahs people. He also made a covenant between the king and the people. 18The people went to the temple of Baal and tore it down. They smashed the altars and the idols, and killed Mattan, the priest of Baal, in front of the altars. Jehoiada put guards on duty at the Temple, 19Jehoiada the priest, the officers, the royal bodyguard, and the palace guards escorted the king from the Temple to the palace. All the people followed them. Jehoash entered by the Guard Gate and took his place on the royal throne. 20All the people were happy. The city was quiet, now that Athaliah had been killed in the palace. 21Jehoash was seven years old when he became king.