6 No one is to enter the temple buildings except the priests and the Levites who are on duty. They may enter, because they are consecrated, but the rest of the people must obey the Lord's instructions and stay outside.
7 The Levites are to stand guard round the king, with their swords drawn, and are to stay with the king wherever he goes. Anyone who tries to enter the Temple is to be killed.”
8 The Levites and the people of Judah carried out Jehoiada's instructions. The men were not dismissed when they went off duty on the Sabbath, so the commanders had available both those coming on duty and those going off.
9 Jehoiada gave the officers the spears and shields that had belonged to King David and had been kept in the Temple.
10 He stationed the men with drawn swords all round the front of the Temple, to protect the king.
11 Then Jehoiada led Joash out, placed the crown on his head, and gave him a copy of the laws governing kingship. And so he was made king. Jehoiada the priest and his sons anointed Joash, and everyone shouted, “Long live the king!”
12 Athaliah heard the people cheering for the king, so she hurried to the Temple, where the crowd had gathered.