The Epic of Gilgamesh contains the quest of the king of Uruk in Babylonia for immortality and of his friendship with Enkidu, the wild man from the hills. Many texts include the account of a flood similar to the deluge described in Genesis. The earliest known Gilgamesh texts come from Sumer (2700 B.C.); from the 18th century B.C. onwards, Gilgamesh texts appear in many versions in several languages of the region. The latest version sofar was created in the first millennium B.C.