Deuteronomy 20:9

9 When the officials have finished addressing the troops, then the commanders shall take charge of them.