After a sultan gives his daughter, Jasmine, three days to find a husband, she escapes the palace and encounters the street-savvy urchin Aladdin, who charms his way into her heart. While the sultan's Vizier, Jafar, weaves a spell so that he may marry Jasmine and become sultan himself, Aladdin discovers the Genie's lamp in a cave and sets the mystical entity free. Aladdin begins his quest to defeat Jafar and win the hand of the princess.