You found a peculiar lamp on the shore of Pirate's Perch in the Sinking Sands and a seemingly mad djinn appeared. After some inquiry about how he became trapped in such a place, the djinn admits that it must kill you yet can allow you a choice on how. You must enter his gauntlet and defeat the trial to be set free.