allegiance

nouns

the act of binding yourself (intellectually or emotionally) to a course of action
"his long commitment to public service"; "they felt no loyalty to a losing team"
is derived from
the loyalty that citizens owe to their country (or subjects to their sovereign)
is derived from