Beer is mentioned in early ancient Egypt records. It appears in the Epic of Gilgamesh, an ancient Mesopotamian epic poem, dating back to the end of the third millennium BC. After the collapse of the Sumerian civilization, the art of brewing was taken over by the Babylonians.