1 Chronicles 26:13-19

26:13 They cast lots, both young and old, according to their families, to determine which gate they would be responsible for. 26:14 The lot for the east gate went to Shelemiah. They then cast lots for his son Zechariah, a wise adviser, and the lot for the north gate went to him. 26:15 Obed-Edom was assigned the south gate, and his sons were assigned the storehouses. 26:16 Shuppim and Hosah were assigned the west gate, along with the Shalleketh gate on the upper road. One guard was adjacent to another. 26:17 Each day there were six Levites posted on the east, four on the north, and four on the south. At the storehouses they were posted in pairs. 26:18 At the court on the west there were four posted on the road and two at the court. 26:19 These were the divisions of the gatekeepers who were descendants of Korah and Merari.