2 Chronicles 23:6-16

6 Don't let anyone come into the Temple of the Lord except the priests and Levites who serve. They may come because they have been made ready to serve the Lord, but all the others must do the job the Lord has given them.
7 The Levites must stay near the king, each man with his weapon in his hand. If anyone tries to enter the Temple, kill him. Stay close to the king when he goes in and when he goes out."
8 The Levites and all the people of Judah obeyed everything Jehoiada the priest had commanded. He did not excuse anyone from the groups of the priests. So each commander took his men who came on duty on the Sabbath with those who went off duty on the Sabbath.
9 Jehoiada gave the commanders of a hundred men the spears and the large and small shields that had belonged to King David and that were kept in the Temple of God.
10 Then Jehoiada told the men where to stand, each man with his weapon in his hand. There were guards from the south side of the Temple to the north side. They stood by the altar and the Temple and around the king.
11 Jehoiada and his sons brought out the king's son and put the crown on him and gave him a copy of the agreement. Then they appointed him king and poured olive oil on him and shouted, "Long live the king!"
12 When Athaliah heard the noise of the people running and praising the king, she went to them at the Temple of the Lord.
13 She looked, and there was the king standing by his pillar at the entrance. The officers and the trumpeters were standing beside him, and all the people of the land were happy and blowing trumpets. The singers were playing musical instruments and leading praises. Then Athaliah tore her clothes and screamed, "Traitors! Traitors!"
14 Jehoiada the priest sent out the commanders of a hundred men, who led the army. He said, "Surround her with soldiers and take her out of the Temple area. Kill with a sword anyone who follows her." He had said, "Don't put Athaliah to death in the Temple of the Lord.
15 So they caught her when she came to the entrance of the Horse Gate near the palace. There they put her to death.
16 Then Jehoiada made an agreement with the people and the king that they would be the Lord's special people.
Scripture taken from the New Century Version. Copyright © 1987, 1988, 1991 by Thomas Nelson, Inc. Used by permission. All rights reserved.