The sons of Levi, the chief of the fathers, were written in
the book of the chronicles
Some think this refers to ( 1 Chronicles 9:14 )
until the days of Johanan the son of Eliashib;
from whence Dr. Lightfoot F16 concludes, that the Chronicles were written by Ezra in the times of this Johanan.
F16 Works, vol. 1. p. 146.