In later Babylonian times, these stories were woven into a connected narrative. The standard Akkadian "Epic of Gilgamesh" was composed by a scribe named Sîn-lēqi-unninni, probably during the Middle Babylonian Period (), based on much older source material. In the epic, Gilgamesh is a demigod of superhuman strength who befriends the wild man Enkidu. Together, they embark on many journeys, most famously defeating Humbaba (Sumerian: Huwawa) and the Bull of Heaven, who is sent to attack them by Ishtar (Sumerian: Inanna) after Gilgamesh rejects her offer for him to become her consort. After Enkidu dies of a disease sent as punishment from the gods, Gilgamesh becomes afraid of his own death, and visits the sage Utnapishtim, the survivor of the Great Flood, hoping to find immortality. Gilgamesh repeatedly fails the trials set before him and returns home to Uruk, realizing that immortality is beyond his reach.