Biblical name (meaning ‘God is my judge’ in Hebrew), borne by the prophet whose story is told in the Book of Daniel. He was an Israelite slave of the Assyrian king Nebuchadnezzar, who obtained great favour through his skill in interpreting dreams and the ‘writing on the wall’ at the feast held by Nebuchadnezzar's son Belshazzar. His enemies managed to get him cast into a lions' den, but he was saved by God. This was a favourite tale in the Middle Ages, often represented in miracle plays. The name has been perennially popular among English speakers since the 16th century and has been particularly favoured since the 1980s.
German and Swiss German: from the inflected form of a house name ‘at the lily’, based on Middle High German lilge, gilge ‘lily’, or a habitational name for someone from a place called, St Ägidi (earlier, Aegilius) near Passau, for instance.