takes Pari Banu to China and sells her to the Emperor. The sorcerer returns and pins Achmed under a boulder on top of a mountain. However, the Witch of the Flaming Mountain notices him and rescues Achmed. The sorcerer is her arch-enemy, so she helps Achmed rescue Pari Banu from the Emperor. Then, the demons of Wak Wak find the couple and, despite Achmed's fierce resistance, carry Pari Banu off. Achmed forces a captive demon to fly him to Wak Wak. However, the gates of Wak Wak are locked. He then slays a monster who is attacking a boy named Aladdin. Aladdin tells of how he, a poor tailor, was recruited by the sorcerer to retrieve a magic lamp from a cave. When Aladdin returned to the cave entrance, the sorcerer demanded the lamp before letting him out. Aladdin refused, so the sorcerer sealed him in. Aladdin accidentally released one of the genies of the lamp and ordered it to take him home. He then courted and married Dinarsade. One night, Dinarsade, Aladdin's magnificent palace, and the lamp disappeared. Blamed by the Caliph, Aladdin fled to avoid being executed. A storm at sea cast him ashore at Wak Wak. When he tried to pluck fruit from a "tree", it turned into a monster and grabbed him, but Achmed killed it. Achmed realizes the sorcerer had been responsible behind this and is further enraged. He also reveals to Aladdin that his palace and the lamp were stolen by the sorcerer because of his obsession for Dinarsade. Then, the witch arrives. Since only the lamp can open the gates, she agrees to attack the sorcerer to get it. They engage in a magical duel, each transforming into various creatures. After a while, they resume their human forms and fling fireballs at each other. Finally, the witch slays the sorcerer. With the lamp, they are able to enter Wak Wak, just in time to save Pari Banu from being thrown to her death. A fierce battle erupts. A demon steals the lamp, but the witch gets it back. She summons creatures from the lamp who defeat the demons. One hydra-like creature seizes Pari Banu. When Achmed cuts off one of its heads, two more grow back immediately, but the witch stops this regeneration, allowing Achmed to kill it and rescue Pari Banu. A flying palace then settles to the ground. Inside, Achmed, Pari