By moving an army into a settlement, it becomes part of the garrison.

Army Stances Tutorials