ז הלכות מלכים ומלחמות. יש בכללן שלוש ועשרים מצוות – עשר מצוות עשה, ושלוש עשרה מצוות לא תעשה; וזה הוא פרטן: (א) למנות מלך מישראל; (ב) שלא יימנה מקהל גרים; (ג) שלא ירבה לו נשים; (ד) שלא ירבה לו סוסים; (ה) שלא ירבה לו כסף וזהב; (ו) להחרים שבעה עממים; (ז) שלא להחיות מהן נשמה; (ח) למחות זרעו של עמלק; (ט) לזכור מה שעשה עמלק; (י) שלא לשכוח מעשיו הרעים ואריבתו בדרך; (יא) שלא לשכון בארץ מצריים; (יב) לשלוח שלום ליושבי העיר כשצרים עליה, ולדון בה כאשר מפורש בתורה, אם תשלים ואם לא תשלים; (יג) שלא לדרוש שלום מעמון ומואב בלבד, כשצרים עליהן; (יד) שלא להשחית אילני מאכל במצור; (טו) להתקין יד שייצאו בו בעלי המחנה להיפנות בו; (טז) להתקין יתד לחפור בו; (יז) למשוח כוהן לדבר באוזני אנשי הצבא בשעת המלחמה; (יח) להיות מארס ובונה בניין ונוטע כרם שמחים בקניינם שנה תמימה, ומחזירין אותן מן המלחמה; (יט) שלא יעבור עליהן דבר, ולא ייצאו אפילו לצורכי העיר וצורכי הגדוד והדומה להן; (כ) שלא לערוץ ולחזור לאחור בשעת מלחמה; (כא) דין יפת תואר; (כב) שלא תימכר יפת תואר; (כג) שלא יכבשנה לעבדות אחר שנבעלה.
7 LAWS OF SOVEREIGNS AND WARS. These comprise twenty-three precepts, ten of which are affirmative, and thirteen are negative precepts. The detailed list is as follows: 1) to choose a king from among the Israelites; 2) not to choose him from the community of proselytes; 3) that he shall not have many wives; 4) that he shall not acquire many horses; 5) that he shall not amass much gold and silver; 6) to destroy the seven (Canaanite) nations; 7) not to let any one of them live; 8) to blot out the seed of Amalek; 9) to remember what Amalek did to us; 10) not to forget his evil deeds, how he treacherously lay in wait on the way; 11) not to reside permanently in the land of Egypt; 12) to offer terms of peace to the inhabitants of a city that is besieged and to deal with it in the way set forth in the Torah, in case the city makes, or does not make peace; 13) not to seek peace with Ammon and Moab. This rule only applies, when besieging their cities; 14) when engaged in a siege, not to destroy fruit trees; 15) to prepare a place of convenience whither the members of the camp shall repair; 16) to have a paddle to dig therewith; 17) to anoint a priest to speak to the men of the army in wartime; 18) that the man who has taken a wife, erected a dwelling, or planted a vineyard shall rejoice a full year; and such newly wed men are sent back home from the war; 19) not to draft them for any purpose; they are not to go out for municipal service, service of the troops, nor any similar duty; 20) not to be afraid nor to retreat in the hour of battle; 21) the law of a beautiful woman taken captive in war; 22) that she is not to be sold; 23) that she is not to be retained in servitude, after cohabitation.