In context
15David reigned over all Israel, doing what was just and right for all his people. 16Joab son of Zeruiah was over the army; Jehoshaphat son of Ahilud was recorder; 17Zadok son of Ahitub and Ahimelech son of Abiathar were priests; Seraiah was secretary; 18Benaiah son of Jehoiada was over the Cherethites and the Pelethites; and David’s sons were priests.
