Deuteronomic Code
The Deuteronomic Code is the name given by academics to the law code set out in chapters 12 to 26 of the Book of Deuteronomy in the Hebrew Bible. The code outlines a special relationship between the people of Israel and their God and provides instructions covering "a variety of topics including religious ceremonies and ritual purity, civil and criminal law, and the conduct of war". They are similar to other collections of laws found in the Torah (the first five books of the Tanakh) such as the Covenant Code at Exodus 20-23, except for the portion discussing the Ethical Decalogue, which is usually treated separately. This separate treatment stems not from any concern over authorship, but merely because the Ethical Decalogue is treated academically as a subject in its own right.
Almost the entirety of Deuteronomy is presented as the last few speeches of Moses, beginning with an historical introduction as well as a second introduction which expands on the Ethical Decalogue, and ending with hortatory speeches and final words of encouragement. Between these is found the law code, at Deuteronomy 12-26. In critical scholarship, this portion, as well as the majority of the remainder of Deuteronomy, was written by the Deuteronomist.