From Middle English forms including leaute and loyalty, through Old French loialte and leaute from loial, ultimately from Latin legalis, "legal" or "lawful". The modern emotional sense grew from older ideas of lawful faithfulness, fealty, and obligation.