How did the army affect society?