In ancient times, Garn Daanuth attempted to summon a power from the dawn of time. This power fed on dreams and wishes, in which the sorcerer believed it could reshape worlds. The sorcerer failed in this attempt when his brother stopped him. His brother, Arion, purged him of his energies and sealed the entity within a miniature crystal chamber, where it lay buried for centuries. By modern times, archaeologists discovered the chamber. One of the archaeologists took the crystal chamber and gave it as a gift to his 13-year-old son Matthew Stuart. The young boy unleashed the entity which took form of a genie, who possessed Matthew. His first act was to send all the adults on Earth to a parallel world, and leave all the children behind without their parents. However, the younger superheroes, Robin, Superboy, and Impulse managed on their own to defeat Bedlam by tricking him into exhausting himself and going back to sleep. After the adults were returned, Matthew was taken into custody of the Department of Extranormal Operations.