The Assyrian king Ashurnasirpal II (reigned 883–859 BC) built a temple to Mamu, possibly the god of dreams, at Imgur-Enlil, near Kalhu.[1] The later Assyrian king Ashurbanipal (reigned 668–c. 627 BC) had a dream during a desperate military situation in which his divine patron, the goddess Ishtar, appeared to him and promised that she would lead him to victory.[4] The Babylonians and Assyrians divided dreams into "good," which were sent by the gods, and "bad," sent by demons.[2] A surviving collection of dream omens entitled Iškar Zaqīqu records various dream scenarios as well as prognostications of what will happen to the person who experiences each dream, apparently based on previous cases.[4][7] Some list different possible outcomes, based on occasions in which people experienced similar dreams with different results.[4] Dream scenarios mentioned include a variety of daily work events, journeys to different locations, family matters, sex acts, and encounters with human individuals, animals, and deities.[4]