1 Samuel 9:18–19 (ESV)

18 Then Saul approached Samuel in the gate and said, “Tell me where is the house of the seer?”

Gates of cities or towns were elaborate constructions and used for all kinds of business. Typically, this was where the elders would sit to pronounce judgment over various matters.1