Elijah or Elias was a prophet and a wonderworker who operated in the northern kingdom of Israel during the reign of Ahab , according to the biblical Books of Kings. According to the Books of Kings, Elijah defended the worship of Yahweh over that of the Canaanite idol Baal. Yahweh also performed many miracles through Elijah, including raising the dead, bringing fire down from the sky, and taking the prophet up to heaven by a whirlwind. The Book of Malachi prophesies Elijahs return before the coming of the great and terrible day of the Lord, making him a harbinger of the Messiah and of the eschaton in various faiths that revere the Hebrew Bible. References to Elijah appear in the New Testament, the Talmud, the Mishnah, and the Quran.
Elijah pronounced his malediction, I curse you in the Name of the Lord. Be silent as a stone! But, Lilith was able to make a bargain with Elijah. She promises to forsake my evil ways if Elijah will remove his curse. To seal the bargain she gives Elijah her names so that they can be posted in the houses of pregnant women or new born children or used as amulets. Lilith promises, where I see those names, I shall run away at once. Neither the child nor the mother will ever be injured by me.
Source: Wikipedia