Description
In ancient Basra, a blind, young beggar begins telling the film's story in flashback (mimicking the style of the Arabian Nights), revealing that he is really Ahmad, the young, naive Sultan of Bagdad. Wanting to know more about his people, Ahmad is tricked by Jaffar, his evil Grand Vizier, into going in disguise into the city. Jaffar then has him arrested and seizes the throne. In prison, Ahmad meets the young thief Abu, who arranges their escape. They flee to Basra, where Ahmad meets and falls in love with the Princess. Jaffar, however, also journeys to Basra, intent on having the Princess for himself.
The Princess is promised in marriage to Jaffar by her father, the toy-obsessed Sultan of Basra, in exchange for a mechanical flying horse. The Princess, now in love with Ahmad, runs away, but Jaffar blinds Ahmad and turns Abu into a dog. The Princess is captured for the slave market and is bought by Jaffar's agent. At the palace, though, she falls into a deep sleep and cannot be awakened. Halima, Jaffar's minion, tricks Ahmad into awakening the Princess. He is then dismissed with the dog to the city's docks, where he concludes his story.
The Princess, tricked into boarding a ship, where she is met by Jaffar, who tells her that she can cure Ahmad's blindness only by allowing Jaffar to embrace her. She submits, and the spells are lifted from both Ahmad and Abu. Jaffar prevents the two from following him by raising a storm that shipwrecks them. Returning to Basra, Jaffar uses a mechanical dancer to kill the Princess's father, then goes back to Bagdad with the Princess.
Abu awakes alone on a deserted beach, where he finds a bottle and opens it, releasing an enormous genie intent on killing the boy. Abu, though, tricks the genie into submitting to him and granting him three wishes. The first wish is wasted, but the genie helps Abu to steal a magical jewel that enables him to find Ahmad. With his second wish, Abu is reunited with Ahmad. With the jewel, Ahmad sees Jaffar using his magic to make the Princess forget her true love. Despondent, Ahmad quarrels with Abu, who inadvertently uses his third wish to send Ahmad back to Bagdad, alone.
In Bagdad, Ahmad is reunited with the Princess, who remembers him. They are imprisoned by Jaffar and condemned to death. Abu helplessly witnesses all this with the jewel's aid. In anger, he destroys the jewel, which results in his freeing the "Old King" of the "Land of Legend." Abu is given a magic crossbow as a reward, but he also steals the king's magic carpet and flies on it to Bagdad. Abu's appearance sparks a revolt against Jaffar by the city's inhabitants, and Abu kills the fleeing Jaffar with the crossbow. With Ahmad restored to power and reunited with the Princess, Abu avoids the sultan's plans for his future by hopping back on the carpet and flying off in search of fun and adventure.