The rearguard; the body of troops protecting an army's rear.
The vanguard; the advance guard leading an army into battle.