1After six years, Jehoiada showed his strength. He made an agreement with the captains. Those captains were: Azariah son of Jeroham, Ishmael son of Jehohanan, Azariah son of Obed, Maaseiah son of Adaiah, and Elishaphat son of Zicri. 2They went around in Judah and gathered the Levites from all the towns of Judah. They also gathered the leaders of the families of Israel. Then they went to Jerusalem. 3All the people meeting together made an agreement with the king in God’s temple. Jehoiada said to those people, “The king’s son will rule. That is what the Lord promised about David’s descendants. 4Now, this is what you must do: One-third of you priests and Levites who go on duty on the Sabbath will guard the doors. 5And one-third of you will be at the king’s house. And one-third of you will be at the Foundation Gate. But all the other people will stay in the yards of the Lord’s temple. 6Don’t let any person come into the Lord’s temple. Only the priest and Levites who serve are permitted to come into the Lord’s temple because they are holy. But all the other men must do the job the Lord has given them. 7The Levites must stay near the king. Every man must have his sword with him. If any person tries to enter the temple, kill that person. You must stay with the king everywhere he goes.” 8The Levites and all the people of Judah obeyed all that Jehoiada the priest commanded. Jehoiada the priest did not excuse any person from the groups of the priests. So each captain and all his men came in on the Sabbath with those who went out on the Sabbath. 9Jehoiada the priest gave the spears and the large and small shields that belonged to King David to the officers. Those weapons were kept in God’s temple. 10Then Jehoiada told the men where to stand. Every man had his weapon in his hand. The men stood all the way from the right side of the temple to the left side of the temple. They stood near the altar and the temple, and near the king. 11They brought the king’s son out and put the crown on him. They gave him a copy of the Law. Then they made Joash king. Jehoiada and his sons anointed Joash. They said, “Let the king live a long time!” 12Athaliah heard the noise of the people running to the temple and praising the king. She came into the Lord’s temple to the people. 13She looked and saw the king. The king was standing by the king’s column at the front entrance. The officers and the men who blew trumpets were near the king. The people of the land were happy and blowing trumpets. The singers were playing on instruments of music. The singers led the people in singing praises. Then Athaliah tore her clothes and said, “Treason! Treason!” 14Jehoiada the priest brought out the army captains. He said to them, “Take Athaliah outside among the army. Use your swords to kill any person that follows her.” Then the priest warned the soldiers, “Don’t kill Athaliah in the Lord’s temple.” 15Then those men grabbed Athaliah when she came to the entrance of the Horse Gate at the king’s house. Then they killed her there at that place. 16Then Jehoiada made an agreement with all the people, and the king. They all agreed that they all would be the Lord’s people. 17All the people went into the temple of the idol Baal and tore it down. They also broke the altars and idols that were in Baal’s temple. They killed Mattan the priest of Baal in front of the altars of Baal. 18Then Jehoiada chose the priests to be responsible for the Lord’s temple. Those priests were Levites, and David had given them the job of being responsible for the Lord’s temple. Those priests were to offer the burnt offerings to the Lord the way the Law of Moses commanded. They offered the sacrifices with much joy and singing the way David commanded. 19Jehoiada put guards at the gates of the Lord’s temple so that a person who was not clean in anything could not enter the temple. 20Jehoiada took the army captains, the leaders, the rulers of the people, and all the people of the land with him. Then Jehoiada took the king out of the Lord’s temple, and they went through the Upper Gate to the king’s house. In that place they put the king on the throne. 21All the people of Judah were very happy and the city Jerusalem had peace because Athaliah was killed with a sword.