2 Chronicles 23:7-13 AMP

7 And the Levites shall surround the young king, every man with his weapons in his hand; and whoever comes into the house [breaking through the ranks of the guard to get near Joash] shall be put to death. But you be with the king when he comes in [from the temple chamber where he is hiding] and when he goes out.

8 So the Levites and all Judah did according to all that Jehoiada the priest had commanded; and took every man his men who were to resume duty on the Sabbath, with those who were to go out on the Sabbath, for Jehoiada the priest did not dismiss the divisions [of priests and Levites].

9 Also Jehoiada the priest gave the captains of hundreds spears, bucklers, and shields that had been King David's, which were in the house of God.

10 And he set all the people as a guard for the king, every man having his weapon (missile) in his hand, from the right side to the left side of the temple, around the altar and the temple.

11 Then they brought out the king's son and put the crown on him and gave him the testimony or law and made him king. And Jehoiada and his sons anointed him and said, Long live the king!

12 When Athaliah heard the noise of the people running and praising the king, she went into the Lord's house to the people.

13 And behold, there the king stood by his pillar at the entrance, the captains and the trumpeters beside him; and all the people of the land rejoicing and blowing trumpets, and the singers with musical instruments led in singing of praise. Athaliah rent her clothes and cried, Treason! Treason!