Genealogical records were kept for all Israel; they are recorded in the Scroll of the Kings of Israel.Exiles Who Resettled in JerusalemThe people of Judah were carried away to Babylon because of their unfaithfulness.
TSK
TSK · Ezra 8:1
Treasury of Scripture Knowledge references in NET.
Just like their relatives, the descendants of Aaron, they also cast lots before King David, Zadok, Ahimelech, the leaders of families, the priests, and the Levites. The families of the oldest son cast lots along with those of the youngest.
The total number of family leaders who led warriors was 2,600.
They came with Zerubbabel, Jeshua, Nehemiah, Seraiah, Reelaiah, Mordecai, Bilshan, Mispar, Bigvai, Rehum, and Baanah. The number of Israelites was as follows:
They searched for their records in the genealogical materials, but did not find them. They were therefore excluded from the priesthood.
In the seventh year of King Artaxerxes, Ezra brought up to Jerusalem some of the Israelites and some of the priests, the Levites, the attendants, the gatekeepers, and the temple servants.
Some of the family leaders contributed to the work. The governor contributed to the treasury 1,000 gold drachmas, 50 bowls, and 530 priestly garments.