As Prince Ali, Aladdin won Jasmine's heart, but their love was threatened by the evil Jafar, the Royal Advisor, who sought to overthrow the Sultan and rule Agrabah himself. Jafar discovered Aladdin's true identity and stole the lamp, using the Genie's power to his advantage.