15Thus David reigned over all Israel and administered justice and righteousness for all his people:
16Joab son of Zeruiah was over the army; Jehoshaphat son of Ahilud was the recorder;
17Zadok son of Ahitub and Ahimelech son of Abiathar were priests; Seraiah was the scribe;
18Benaiah son of Jehoiada was over the Cherethites and Pelethites; and David’s sons were priestly leaders.
— 2 Samuel 8:15-18