 By the turn of the century, under the impetus of the Napoleonic Wars and the strain that the armies of Europe subsequently came under, military academies for the training of commissioned officers of the army were set up in most of the combatant nations.These military schools had two functions