During the robbery of a museum, a stray gunshot releases an ancient Djinn imprisoned in a fire
opal. One of the burglars, a young woman named Morgana Truscott, steals the gem and shoots a museum guard, but is forced to abandon the other burglar during her escape. The Djinn kills the remaining burglar when he wishes he had never been born. As the police enter the museum, the Djinn assumes its human persona, "Nathaniel Demerest," and surrenders to the police. Morgana has dreams where she sees glimpses of the Djinn in his true form. Later, Morgana goes to Church to visit the priest tending the church, a man named Gregory, a former lover of Morgana's. She tells him that a man named Demerest confessed to the robbery. In prison, Demerest offers wishes to several inmates in exchange for their souls. He is confronted by Butz and his two henchmen, the Tiger brothers. Believing Demerest to be a dealer, Butz asks for drugs on which he can "get wasted... stomped into the ground." Demerest grants his wish literally, and Butz is savagely beaten by his own underlings. Demerest is temporarily sent to solitary, suspected of instigating a spate of recent troubles at the prison. Morgana researches Persian mythology, particularly the Persian deity Ahura Mazda, who had bound the Djinn in the past. Morgana opens up to Gregory, telling him about her nightmares in which a voice tells her to "fulfill the prophecy," and she tells of her involvement in the robbery and the murder of a guard. Morgana goes to the prison to visit Demerest and demands to know why he falsely confessed to the robbery. He says it was so she would not have to before showing his true form, driving Morgana away. Morgana undergoes rituals aimed at purifying her soul, as only someone pure of heart can return the Djinn back into his prison. Meanwhile, Demerest kills the prison warden, Tillaver, and escapes with a Russian inmate he befriended named Osip. As Demerest drinks with Osip, Morgana enters and shoots Demerest, but he is unaffected by the wound. She leaves, in despair. Gregory finds Morgana praying at the church altar. She laments that her guilt, the blood of the innocent man she killed at the museum heist, can never be washed away, and she can never hope to defeat the Djinn. Gregory has compiled more notes, discovering that the Djinn is seeking 1,001 souls. He also finds the incantation used by the alchemist who imprisoned the Djinn. In Las Vegas, the Djinn begins granting wishes to casino patrons to collect the remaining required souls. When Morgana and Gregory confront Demerest, Gregory wishes for the Djinn to be sent back to hell. They are all transported inside the fire opal where Gregory is crucified. Morgana angrily wishes for a world without evil; the Djinn says without evil, good cannot exist. Morgana asks the Djinn the meaning of fulfilling the prophecy. The Djinn recites the prophecy to her, that after 1,001 souls are gathered, the one who wakes the Djinn shall have three wishes. Upon the granting of all three, the race of Djinn will reign over the Earth. Morgana wishes for the guard she killed to be alive again. After receiving a vision of the guard alive and well, her pureness of heart restored, she takes the Djinn's fire opal and speaks the alchemist's chant, "Nib Shiggurath Bahīm." The Djinn is again banished into the opal, and all the victims are returned to life. == Cast ==