2 Chronicles 23:1-8
23:1 In the seventh year Jehoiada made a bold move. He made a pact with the officers of the units of hundreds: Azariah son of Jehoram, Ishmael son of Jehochanan, Azariah son of Obed, Maaseiah son of Adaiah, and Elishaphat son of Zikri.
23:2 They traveled throughout Judah and assembled the Levites from all the cities of Judah, as well as the Israelite family leaders.
They came to Jerusalem,
23:3 and the whole assembly made a covenant with the king in the temple of God. Jehoiada said to them, “The king’s son will rule, just as the Lord promised David’s descendants.
23:4 This is what you must do. One third of you priests and Levites who are on duty during the Sabbath will guard the doors.
23:5 Another third of you will be stationed at the royal palace and still another third at the Foundation Gate. All the others will stand in the courtyards of the Lord’s temple.
23:6 No one must enter the Lord’s temple except the priests and Levites who are on duty. They may enter because they are ceremonially pure. All the others should carry out their assigned service to the Lord.
23:7 The Levites must surround the king. Each of you must hold his weapon in his hand. Whoever tries to enter the temple must be killed. You must accompany the king wherever he goes.”
23:8 The Levites and all the men of Judah did just as Jehoiada the priest ordered. Each of them took his men, those who were on duty during the Sabbath as well as those who were off duty on the Sabbath. Jehoiada the priest did not release his divisions from their duties.