Jafar

Jafar is a recurring villain in the Kingdom Hearts games. Originating in Disney's Aladdin, he is a member of Maleficent's group, and appears to be her second-in-command. He is royal vizier of Agrabah who is disliked by many, mainly Aladdin and Jasmine. Two-faced and cunning, Jafar seeks the demise of Aladdin and to rule as sultan of Agrabah.

Kingdom Hearts
''The royal vizier of Agrabah. Jafar is unprincipled and ruthless in pursuit of his aims. Now he's using the Heartless to try to take over the city.''
 * First Entry

He played the villain in "Aladdin" (1992).

''The vizier of Agrabah. He joined forces with Maleficent and tried to control the Heartless. He gained control of the lamp and became a powerful genie, but was defeated by Sora and his friends.''
 * Second Entry

He played the villain in "Aladdin" (1992).

Kingdom Hearts: Chain of Memories
A sorcerer and Agrabah's royal vizier.

Jafar stole the magic lamp from Aladdin and, with Genie's power, schemed to become ruler of Agrabah.

Kingdom Hearts II
Aladdin (1992)

Before he became an evil genie, Jafar was the Sultan's royal vizier.

''The last time we were in Agrabah, Jafar was trying to use the Heartless to take over the city. He even got control of Aladdin's pal Genie and wished to become a powerful genie himself. Aladdin, Sora, and his friends joined together to defeat Jafar, and imprisoned him in his own lamp.''

Kingdom Hearts
Jafar was part of the group of Disney villains in favor of total control of Kingdom Hearts. Jafar, along with his parrot Iago, planned to use the Heartless to take over Agrabah. Maleficent ordered Jafar to kidnap Princess Jasmine, one of the seven Princesses of Heart. She also warned Jafar to avoid steeping himself in darkness for too long or the Heartless would steal his heart. When Sora, Donald, and Goofy arrive, Jafar was trying to capture the princess. Eventually they meet up with Aladdin, who tries to save her by using Genie's powers from Jafar, but the plan backfires with Jafar obtaining the lamp.

Jafar lead Sora and friends to the Cave of Wonders, where the Guardian of the Cave was possessed by Darkness. As Sora and company dealt with the Guardian, Jafar retreated to the Lamp Chamber. While there he used his first wish- to find the Keyhole to the world. The Keyhole was revealed on the far side of the chamber; shortly afterward Sora, Aladdin, Donald and Goofy arrived. Ensuing a battle, Jafar used his second wish for Genie to crush Sora and friends. A slave to the lamp, Genie reluctantly fought alongside Jafar against Sora and friends. After his first defeat, Jafar used his third and final wish to make him an all powerful Genie. Sora and the gang went into the deepest part of the Cave of Wonders and fought Jafar. In the end, Sora took Jafar's lamp and sucked Jafar into the lamp along with Iago. After the battle, Hades, Captain Hook, and Riku conversed about his chances against Sora; Hades comments saying that Jafar may have won if Riku had supported him.

Kingdom Hearts V CAST
Jafar is the boss of Agrabah in Kingdom Hearts V CAST.

Kingdom Hearts: Chain of Memories
In Kingdom Hearts: Chain of Memories, Jafar appeared in the Agrabah made of Sora's memories with the Heartless to take over Agrabah. In order to get the lamp, he tricked Aladdin to get the lamp in an attempt to make Jasmine marry him. When Jafar stole the lamp from Aladdin, his first wish was to have Jasmine in his clutches, his second being for Genie to protect him from a sneak attack led by Sora and Aladdin, and his third wish was to become an all-powerful Genie. He teleported Sora and his friends to the center of the earth and attacked them. His attacks were similar to that seen in the first game, except ice could not damage him. Instead of attacking Jafar directly, Sora attacked Iago, grabbed the lamp, and trapped Jafar inside like the previous encounter.

He also appeared in Riku's story representing Riku's dark memories.

First Visit
One year later, Jafar's lamp is found by the Peddler. Maleficent sent Pete to get the lamp and release Jafar from his prison and turn him into a Heartless. Unfortunately for Pete, Sora and friends had already arrived. Sora and gang head to the Cave of Wonders to give the Peddler treasures for the Lamp. Sora returned to find Pete chasing the Peddler for the lamp. Pete chased the Peddler all the way to the Palace, but Iago, who had previously escaped from the lamp, snatched it in the nick of time. Angered, Pete summoned two powerful Heartless but Sora defeated them and sealed Jafar's lamp away.

Second Visit
However, the "defeat" was bittersweet. Due to the manipulations of Organization XIII, the Peddler found Jafar's lamp again and released him. Jafar forced Iago to keep Sora occupied by telling him that he would be in the Desert Ruins. Sora and the gang arrived at the tower in the ruins, with the help of Genie and Carpet, while Jafar kidnapped Princess Jasmine. Once Sora and Aladdin discovered the ruse, Iago informed them that Jafar would be attacking the Palace at that point. They arrived at the Palace to find Jafar taunting Jasmine, who was chained to the gate. Jafar fired a beam of dark lightning at Aladdin, but Iago intercepted it and fell unconcious. Jafar turned into his Genie form and rose into the sky, with Sora in pursuit, riding on the magic carpet. Sora and Jafar battled one-on-one in a battle that destroyed half of Agrabah. Sora came out the victor, with Jafar exploding, his lamp dissolving into the darkness.

Kingdom Hearts coded
Jafar appears in Kingdom Hearts coded, in Agrabah, in his genie form, confronting Genie and Sora. He steals the Genie's lamp and has a fake lamp that can control time. He kidnaps Princess Jasmine and uses his new powers over time to delay Sora from getting rid of the bugs. In the game, you must fight him twice as his normal self and once as his genie form.

Personality
Jafar is very cool and calculated, yet vicious and an amoral sorcerer who Maleficent regarded as "Beyond help. Consumed by his own hatred," (which may end up explaining why Maleficent later tries to make him into a Heartless). He is seen in a mostly cool manner, yet is easily angered. He is sly, ruthless, and ignorant, ignoring Maleficent's warning about keeping his heart open to darkness for too long, simply replying "Your concern is touching, but hardly necessary". In Kingdom Hearts II, he is slightly more impulsive than before, but not ignorant.

In Battle
Jafar appears in all three Kingdom Hearts games as a boss. In the first game, he fights Sora in the Cave of Wonders by using his staff and magic. During this fight, Jafar typically stands on one of the stone blocks located around the area and attacks from above with a continuous beam of fire and a large ice storm in the center area of the room, occasionally drifting down for a more personal assault with his staff. After he is damaged enough in this confrontation, he turns into a ball of light and floats away, then resumes human form to continue the cycle again. In addition, when hit with Gravity magic, Jafar forms a protective shield around himself. In the second part of the battle, Jafar becomes a powerful Genie and throws fireballs at Sora and friends. When defeated, he is sealed up into a magic lamp. Jafar uses the same attacks in Chain of Memories.

In Kingdom Hearts II, Jafar returns more powerful than ever in his genie form. Sora rides on the magic carpet as he and Jafar face off. Jafar can teleport Sora to another dimension in this battle and throws buildings at Sora, as well as other projection (such as fireballs) and can temporarily paralyze Sora with a flash of light from his eyes. If Sora depletes the HP in Jafar's chest, then he can do a Reaction Command in which he grabs Jafar's tail, wraps him up, and spins him around. At the end of the move, Jafar is left briefy dazed.

Kingdom Hearts
"But the boy's a problem, he found one of the Keyholes."

"Agrabah is full of holes for rats to hide in."

"And now I bid you all farewell, attack!"

"Such is the power of the Keyblade, the child's strength is not his own."

"That weak-hearted fool stood no chance against the Heartless!"

Kingdom Hearts II
"You dare defy me you useless bird!"

"All of Agrabah will belong to me."

"Right about now... your precious Aladdin is whispering your name, with his last breath."

"You'll all be joining him... VERY soon!"

Origin
Jafar first made his appearance in Aladdin as the Sultan's power-hungry vizier. In his quest to seek someone suitable to enter the Cave of Wonders, "a diamond in the rough", led him to the street urchin Aladdin. With Aladdin's help, he would almost acquire an ordinary oil lamp which actually housed an all-powerful genie. However, due to unforeseen consequences, Jafar lost the lamp and his quest for power was thwarted unintentionally by Aladdin under the false identity Prince Ali al Ababwaa. But Jafar would not give up and used his parrot companion, Iago, to steal the lamp, becoming the genie's new master and assuming total control over Agrabah using newfound powers he had wished for. He attempted to banish Aladdin to the ends of the Earth but failed as Aladdin showed up for one last showdown. Desperate, Jafar used his final wish to become an all-powerful genie but was tricked into being contained inside a lamp by Aladdin and flung out into the desert by Genie.

Trivia

 * In the movie Return of Jafar, Jafar is killed after his lamp is destroyed. In the game, Sora manages to destroy Jafar without even touching his lamp, which disappears in a cloud of smoke.
 * Oddly, Jafar could use spells while human in the first game, despite not having wished to be the greatest sorcerer, as in the film.
 * In the movie Aladdin, Jafar moved his hands in vivid motions to showcase his new phenomenal Genie powers, whereas in Kingdom Hearts II, he didn't do this until the battle is about to start. The Agrabah plotline in Kingdom Hearts II followed The Return of Jafar.
 * In the movie Return of Jafar, Jafar is liberated of his lamp thanks to a bandit called Abis Mal,not the Peddler.