 Now bound to his new lamp, Jafar ends up trapped inside it, taking Iago with him.With Agrabah returned to normal, the Genie banishes Jafar's lamp and advises Aladdin use his third wish to regain his royal title so the law will allow him to stay with Jasmine.Aladdin decides instead to keep his promise and frees the Genie.