On the testimony of two or three witnesses a person is to be put to death, but no one is to be put to death on the testimony of only one witness.
The hands of the witnesses must be the first in putting that person to death, and then the hands of all the people. You must purge the evil from among you.
If cases come before your courts that are too difficult for you to judge—whether bloodshed, lawsuits or assaults—take them to the place the LORD your God will choose.
Go to the Levitical priests and to the judge who is in office at that time. Inquire of them and they will give you the verdict.
You must act according to the decisions they give you at the place the LORD will choose. Be careful to do everything they instruct you to do.
Act according to whatever they teach you and the decisions they give you. Do not turn aside from what they tell you, to the right or to the left.
Anyone who shows contempt for the judge or for the priest who stands ministering there to the LORD your God is to be put to death. You must purge the evil from Israel.
All the people will hear and be afraid, and will not be contemptuous again.
When you enter the land the LORD your God is giving you and have taken possession of it and settled in it, and you say, “Let us set a king over us like all the nations around us,”
be sure to appoint over you a king the LORD your God chooses. He must be from among your fellow Israelites. Do not place a foreigner over you, one who is not an Israelite.
The king, moreover, must not acquire great numbers of horses for himself or make the people return to Egypt to get more of them, for the LORD has told you, “You are not to go back that way again.”