The ancient Sumerians in Mesopotamia have left evidence of dream interpretation dating back to at least 3100 BC.[3][4] Throughout Mesopotamian history, dreams were always held to be extremely important for divination[4][5] and Mesopotamian kings paid close attention to them.[4][3] Gudea, the king of the Sumerian city-state of Lagash (reigned c. 2144–2124 BC), rebuilt the temple of Ningirsu as the result of a dream in which he was told to do so.[4] The standard Akkadian Epic of Gilgamesh contains numerous accounts of the prophetic power of dreams.[4] First, Gilgamesh himself has two dreams foretelling the arrival of Enkidu.[4] Later, Enkidu dreams about the heroes' encounter with the giant Humbaba.[4] Dreams were also sometimes seen as a means of seeing into other worlds[4] and it was thought that the soul, or some part of it, moved out of the body of the sleeping person and actually visited the places and persons the dreamer saw in his or her sleep.[6] In Tablet VII of the epic, Enkidu recounts to Gilgamesh a dream in which he saw the gods Anu, Enlil, and Shamash condemn him to death.[4] He also has a dream in which he visits the Underworld.[4]