Devarim 22:18

18 And the zekenim of that town shall take that ish and punish him;