1 Chronicles 29:29katav
Everything David did as king, from beginning to end, is recorded in the records of Samuel the seer, the records of Nathan the prophet, and the records of Gad the seer.
David's reign recorded by prophets and seers.
1 Chronicles 24:6katav
Shemaiah son of Nethanel, from the tribe of Levi, was the secretary. He recorded the names of those descendants in front of King David, the officers, Zadok the priest, Ahimelech son of Abiathar, and the leaders of the families of the priests and Levites. The work was divided by lots among the families of Eleazar and Ithamar. The following men with their groups were chosen.
A secretary records priestly family names before the king.