 The "sacramentum militare" (also as "militum" or "militiae") was the oath taken by soldiers in pledging their loyalty to the consul in the Republican era or later to the emperor.The "sacramentum" as pertaining to both the law and the military indicates the religious basis for these institutions.The text of the oath was recorded by Vegetius