So all Israel was recorded by genealogies, and indeed, they were inscribed in the book of the kings of Israel. But Judah was carried away captive to Babylon because of their unfaithfulness. And the first inhabitants who dwelt in their possessions in their cities were Israelites, priests, Levites, and the Nethinim.
Now in Jerusalem the children of Judah dwelt, and some of the children of Benjamin, and of the children of Ephraim and Manasseh: Uthai the son of Ammihud, the son of Omri, the son of Imri, the son of Bani, of the descendants of Perez, the son of Judah. Of the Shilonites: Asaiah the firstborn and his sons. Of the sons of Zerah: Jeuel, and their brethren—six hundred and ninety. Of the sons of Benjamin: Sallu the son of Meshullam, the son of Hodaviah, the son of Hassenuah; Ibneiah the son of Jeroham; Elah the son of Uzzi, the son of Michri; Meshullam the son of Shephatiah, the son of Reuel, the son of Ibnijah; and their brethren, according to their generations—nine hundred and fifty-six. All these men were heads of a father’s house in their fathers’ houses.
Of the priests: Jedaiah, Jehoiarib, and Jachin; Azariah the son of Hilkiah, the son of Meshullam, the son of Zadok, the son of Meraioth, the son of Ahitub, the officer over the house of God; Adaiah the son of Jeroham, the son of Pashur, the son of Malchijah; Maasai the son of Adiel, the son of Jahzerah, the son of Meshullam, the son of Meshillemith, the son of Immer; and their brethren, heads of their fathers’ houses—one thousand seven hundred and sixty. They were very able men for the work of the service of the house of God.
Of the Levites: Shemaiah the son of Hasshub, the son of Azrikam, the son of Hashabiah, of the sons of Merari; Bakbakkar, Heresh, Galal, and Mattaniah the son of Micah, the son of Zichri, the son of Asaph; Obadiah the son of Shemaiah, the son of Galal, the son of Jeduthun; and Berechiah the son of Asa, the son of Elkanah, who lived in the villages of the Netophathites.
And the gatekeepers were Shallum, Akkub, Talmon, Ahiman, and their brethren. Shallum was the chief. Until then they had been gatekeepers for the camps of the children of Levi at the King’s Gate on the east.
Shallum the son of Kore, the son of Ebiasaph, the son of Korah, and his brethren, from his father’s house, the Korahites, were in charge of the work of the service, gatekeepers of the tabernacle. Their fathers had been keepers of the entrance to the camp of the LORD. And Phinehas the son of Eleazar had been the officer over them in time past; the LORD was with him. Zechariah the son of Meshelemiah was keeper of the door of the tabernacle of meeting.
All those chosen as gatekeepers were two hundred and twelve. They were recorded by their genealogy, in their villages. David and Samuel the seer had appointed them to their trusted office. So they and their children were in charge of the gates of the house of the LORD, the house of the tabernacle, by assignment. The gatekeepers were assigned to the four directions: the east, west, north, and south. And their brethren in their villages had to come with them from time to time for seven days.