gilgamesh was the fifth king of uruk, an ancient city of sumer. his supposed historical reign is believed to lie within the period 2700 to 2500 bc, 200–400 years before the earliest known written stories. his father was the third king, lugalbanda.