Read 1 Chronicles 9:18 Using Other Translations
Who hitherto waited in the king's gate eastward: they were porters in the companies of the children of Levi.
until then they were in the king's gate on the east side as the gatekeepers of the camps of the Levites.
Prior to this time, they were responsible for the King’s Gate on the east side. These men served as gatekeepers for the camps of the Levites.