Its name stems from the medieval kingdom of Lotharingia, which in turn was named after either Emperor Lothair I or King Lothair II. Lorraine later was ruled as the Duchy of Lorraine before the Kingdom of France annexed it in 1766. From 1982 until January 2016, Lorraine was an administrative region of France.