Gilgamesh is the title character of one of the oldest known literary works, the Epic of Gilgamesh, which dates from approximately 2150 BCE. The most complete surviving version of the Epic was recorded on twelve clay tablets in the library of Ashurbanipal, a later Mesopotamian king.
Gilgamesh was the fifth king of Uruk, an early Sumerian realm that encompassed what is now Kuwait and southern Iraq. His parentage was partially divine – he was two thirds god and one third man. As a result of this, he was abnormally strong and long-lived – some sources describe him as immortal. He seems to have been based on actual historical figure, and several details in the Epic appear to derive from historical figures who were his contemporaries. However, despite his reality, it is unlikely that he reigned for the 126 years attributed to him by Sumerian historians.