Deuteronomy 21:19

19 his father and mother shall take hold of him and bring him to the elders at the gate of his town.

Read Deuteronomy 21:19 Using Other Translations

Then shall his father and his mother lay hold on him, and bring him out unto the elders of his city, and unto the gate of his place;
then his father and his mother shall take hold of him and bring him out to the elders of his city at the gate of the place where he lives,
In such a case, the father and mother must take the son to the elders as they hold court at the town gate.