Aladdin arrives and defeats Jafar . Jasmine realizes that she loves Aladdin and the two decide to marry . Jasmine confronts Jafar and demands that they release Aladdin , but Jafar tells her that Aladdin has already been executed ; Jasmine is left distraught and blames herself .