Jehoiada Anoints the Child Joash

But in the seventh year Jehoiada summoned the captains of the Carites and of the guards and had them come to him in the house of the Lord. He made a covenant with them and put them under oath in the house of the Lord; then he showed them the king's son. He commanded them, "This is what you are to do: one-third of you, those who go off duty on the sabbath and guard the king's house (another third being at the gate Sur and a third at the gate behind the guards), shall guard the palace; and your two divisions that come on duty in force on the sabbath and guard the house of the Lord shall surround the king, each with weapons in hand; and whoever approaches the ranks is to be killed. Be with the king in his comings and goings."

The captains did according to all that the priest Jehoiada commanded; each brought his men who were to go off duty on the sabbath, with those who were to come on duty on the sabbath, and came to the priest Jehoiada. The priest delivered to the captains the spears and shields that had been King David's, which were in the house of the Lord; the guards stood, every man with his weapons in his hand, from the south side of the house to the north side of the house, around the altar and the house, to guard the king on every side. Then he brought out the king's son, put the crown on him, and gave him the covenant; they proclaimed him king, and anointed him; they clapped their hands and shouted, "Long live the king!"