All Israel was registered in the genealogies that are written in the Book of the Kings of Israel. But Judah was exiled to Babylon because of their unfaithfulness.
The first to live in their towns on their own property again were Israelites, priests, Levites, and temple servants.
These people from the descendants of Judah, Benjamin, Ephraim, and Manasseh settled in Jerusalem:
Ibneiah son of Jeroham;
Elah son of Uzzi, son of Michri;
Meshullam son of Shephatiah, son of Reuel, son of Ibnijah;
Azariah son of Hilkiah, son of Meshullam, son of Zadok, son of Meraioth, son of Ahitub, the chief official of God’s temple;
Adaiah son of Jeroham, son of Pashhur, son of Malchijah;
Maasai son of Adiel, son of Jahzerah, son of Meshullam, son of Meshillemith, son of Immer;
and their relatives, the heads of their ancestral families — 1,760 in all. They were capable men employed in the ministry of God’s temple.
The Levites: Shemaiah son of Hasshub, son of Azrikam, son of Hashabiah of the Merarites;
Obadiah son of Shemaiah, son of Galal, son of Jeduthun;
and Berechiah son of Asa, son of Elkanah who lived in the settlements of the Netophathites.
The gatekeepers: Shallum, Akkub, Talmon, Ahiman, and their relatives.
Shallum was their chief;
he was previously stationed at the King’s Gate on the east side. These were the gatekeepers from the camp of the Levites.
In earlier times Phinehas son of Eleazar had been their leader, and the LORD was with him.
Zechariah son of Meshelemiah was the gatekeeper at the entrance to the tent of meeting.
The total number of those chosen to be gatekeepers at the thresholds was 212. They were registered by genealogy in their settlements. David and the seer Samuel had appointed them to their trusted positions.
So they and their sons were assigned as guards to the gates of the LORD’s temple, which had been the tent-temple.
Their relatives came from their settlements at fixed times to be with them seven days,
but the four chief gatekeepers, who were Levites, were entrusted with the rooms and the treasuries of God’s temple.
They spent the night in the vicinity of God’s temple, because they had guard duty and were in charge of opening it every morning.
Some of them were in charge of the utensils used in worship. They would count them when they brought them in and when they took them out.
Others were put in charge of the furnishings and all the utensils of the sanctuary, as well as the fine flour, wine, oil, incense, and spices.
Some of the Kohathites’ relatives were responsible for preparing the rows of the Bread of the Presence every Sabbath.
The singers, the heads of the Levite families, stayed in the temple chambers and were exempt from other tasks because they were on duty day and night.
These were the heads of the Levite families, chiefs according to their family records; they lived in Jerusalem.
Mikloth fathered Shimeam. These also lived opposite their relatives in Jerusalem with their other relatives.
Ner fathered Kish, Kish fathered Saul, and Saul fathered Jonathan, Malchishua, Abinadab, and Esh-baal.
Christian Standard Bible®, Copyright © 2017, 2020 by Holman Bible Publishers.
Additional information is provided here.
For more information on this translation, see the CSB Preface.