When the wall had been rebuilt and I had the doors installed, the gatekeepers, singers, and Levites were appointed.
References for Nehemiah 7:1
Then I put my brother Hanani in charge of Jerusalem, along with Hananiah, commander of the fortress, because he was a faithful man who feared God more than most.
I said to them, "Do not open the gates of Jerusalem until the sun is hot, and let the doors be shut and securely fastened while the guards are on duty. Station the citizens of Jerusalem as guards, some at their posts and some at their homes."