royal life. After Aladdin brings Jasmine home, the palace guards capture him on Jafar's behest and throw him into the sea. The Genie appears and saves Aladdin at the cost of his second wish. Aladdin returns to the palace and exposes Jafar's plot, prompting the latter to flee, but not before he glimpses the lamp and determines Aladdin's true identity. Fearing that he will lose Jasmine if the truth is revealed, Aladdin breaks his promise and refuses to free the Genie. Iago steals the lamp, and Jafar becomes the Genie's new master. He uses his first two wishes to become both Sultan and the world's most powerful sorcerer. He then exposes Aladdin, exiling him, Abu, and the carpet to a frozen wasteland. The three escape and return to Agrabah, where Jasmine tries to help Aladdin steal the lamp back. Jafar notices and overpowers her, Abu, and the carpet with his magic. Aladdin taunts Jafar for being less powerful than the Genie, tricking him into using his last wish to become an all-powerful genie himself. Now bound to his new lamp, Jafar ends up trapped inside it, taking Iago with him. The Genie then throws Jafar's lamp far into the desert, banishing Jafar and Iago to the Cave of Wonders for 10,000 years. With Agrabah returned to normal, the Genie encourages Aladdin to use his third wish to regain his royal title and legally marry Jasmine. Aladdin instead decides to keep his promise and frees the Genie. Realizing Aladdin's nobility, the Sultan changes the law to allow Jasmine to marry whoever she chooses. The Genie bids the group a fond farewell and leaves to explore the world, while Aladdin and Jasmine start their new life together. Cast Scott Weinger as Aladdin, a poor yet kind-hearted Agrabah thief. For his audition, Weinger sent in a homemade audition tape as Aladdin with his mother playing the Genie, and after several callbacks found out six months later that he had been cast as the title character. Aladdin's supervising animator was Glen Keane. Brad Kane provides Aladdin's singing voice. Robin Williams as the Genie, a hyperactive jinn with great power that can only be exercised when his master wishes it. He serves as the film's comic relief. Clements and Musker had written the role of the Genie for Robin Williams, and, when met with resistance, created a reel of a Williams stand-up to animation of