2 Kings 11:4

4 In the seventh year of Athaliah's reign, Jehoiada sent for the company commanders of the Carites and the guards and had them come to him in the LORD's temple. He made an agreement with them, put them under oath in the LORD's temple, and showed them the king's son.