Deuteronomy 17:7

17:7 The witnesses must be first to begin the execution, and then all the people are to join in afterward. In this way you will purge evil from among you.

Deuteronomy 17:12

17:12 The person who pays no attention to the priest currently serving the Lord your God there, or to the verdict – that person must die, so that you may purge evil from Israel.