1 Chronicles 26:13-16

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.