2 Kings 11:4

4 But in the seventh year Jehoiada sent for the commanders of the Carites and of the guards and had them come to him at the LORD's temple. He made a covenant with them, and made them swear a solemn pledge in the LORD's temple. Then he showed them the king's son.