2 Kings 11:4-12

11:4 In the seventh year Jehoiada summoned the officers of the units of hundreds of the Carians and the royal bodyguard. He met with them in the Lord’s temple. He made an agreement with them and made them swear an oath of allegiance in the Lord’s temple. Then he showed them the king’s son. 11:5 He ordered them, “This is what you must do. One third of the unit that is on duty during the Sabbath will guard the royal palace. 11:6 Another third of you will be stationed at the Foundation Gate. Still another third of you will be stationed at the gate behind the royal guard. You will take turns guarding the palace. 11:7 The two units who are off duty on the Sabbath will guard the Lord’s temple and protect the king. 11:8 You must surround the king. Each of you must hold his weapon in his hand. Whoever approaches your ranks must be killed. You must accompany the king wherever he goes.”

11:9 The officers of the units of hundreds 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, and reported to Jehoiada the priest. 11:10 The priest gave to the officers of the units of hundreds King David’s spears and the shields that were kept in the Lord’s temple. 11:11 The royal bodyguard took their stations, each holding his weapon in his hand. They lined up from the south side of the temple to the north side and stood near the altar and the temple, surrounding the king. 11:12 Jehoiada led out the king’s son and placed on him the crown and the royal insignia. They proclaimed him king and poured olive oil on his head. They clapped their hands and cried out, “Long live the king!”