You have to save a wise man who is kept prisoner in a deep dungeon by a malevolent Ifreet and who is the only one who can rid the Golden City of said Ifreet.