5 a third of you at the royal palace and a third at the Foundation Gate, and all the others are to be in the courtyards of the temple of the Lord.
6 No one is to enter the temple of the Lord except the priests and Levites on duty; they may enter because they are consecrated, but all the others are to observe the Lord’s command not to enter.
7 The Levites are to station themselves around the king, each with weapon in hand. Anyone who enters the temple is to be put to death. Stay close to the king wherever he goes.”
8 The Levites and all the men of Judah did just as Jehoiada the priest ordered. Each one took his men—those who were going on duty on the Sabbath and those who were going off duty—for Jehoiada the priest had not released any of the divisions.
9 Then he gave the commanders of units of a hundred the spears and the large and small shields that had belonged to King David and that were in the temple of God.
10 He stationed all the men, each with his weapon in his hand, around the king—near the altar and the temple, from the south side to the north side of the temple.
11 Jehoiada and his sons brought out the king’s son and put the crown on him; they presented him with a copy of the covenant and proclaimed him king. They anointed him and shouted, “Long live the king!”