Nehemiah 7:3-5

3 and I said unto them, Do not let the gates of Jerusalem be opened until the sun is hot and even [with] the [guards] present, let them shut the doors and bar [them]. And appoint guards of the inhabitants of Jerusalem, each one in his watch and each one [to be] in front of his house.

4 Now the city [was] large and great, but there were few people in it, and the houses [were] not rebuilt.

5 And my God put [it] into my heart to gather together the principals and the rulers and the people, that they might be reckoned by genealogy. And I found the register of the genealogy of those who had come up before and found written therein: