The lot for the east gate fell to Shelemiah. They also cast lots for his son Zechariah, an insightful counselor, and his lot came out for the north gate.