LAWS OF KINGS AND THEIR WARS from Mishne Torah
Note: In Sefer Hamitzvoth , RaMBaM lists the Law of Appointing a King as #497. Laws of Kings and their Wars 591 Appoint a king from Israel Deut. 17:15 592 Not to appoint a convert Deut. 17:15 593 The king must not have too many wives Deut. 17:17 594 The king must not have too many horses Deut. 17:16 595 The king must not have too much silver and gold Deut. 17:17 596 Destroy the seven Canaanite nations Deut. 20:17 597 Not to let any of them remain alive Deut. 20:16 598 Wipe out the descendants of Amalek Deut. 25:19 599 Remember what Amalek did to the Jewish people Deut. 25:17 600 Not to forget Amalek's atrocities and ambush on our journey from Egypt in the desert Deut. 25:19 601 Not to dwell permanently in Egypt Deut. 17:16 602 Offer peace terms to the inhabitants of a city while holding siege, and treat them according to the Torah if they accept the terms Deut. 20:10 603 Not to offer peace to Ammon and Moab while besieging them