This is the medieval variation of Military trope, in which the hero is a member of a fighting corps. Most of my medieval heroes are knights, and some belong (or have belonged) to a military order like the Templars. Others have seen active military duty on crusade or as mercenaries and a few are assassins.