In myth and literature, Uruk was famous as the capital city of Gilgamesh, hero of the Epic of Gilgamesh.