I Chronicles 18:14–17

So David reigned over all Israel, and executed judgment and justice among all his people. 15And Joab the son of Sarvia was over the army, and Josaphat the son of Ahilud recorder. 16And Sadoc the son of Achitob, and Achimelech the son of Abiathar, were the priests: and Susa, scribe. 17And Banaias the son of Joiada was over the bands of the Cerethi, and the Phelethi: and the sons of David were chief about the king.