Agrabah

Agrabah is an Enchanted Forest location featured on ABC's Once Upon a Time in Wonderland. It first appears in the second episode of the first season.

History
In the land of Agrabah, a woman named Ulima has a relationship with the Sultan that results in a birth of an illegitimate son, Jafar, though she keeps this a secret and raises him alone. While close to succumbing to death, she tells her son, now a young boy, that his real father is the Sultan and gives Jafar a special ring to gain parental recognition from him. Jafar is hastened into the palace throne room after purposely stealing from one of the royal guards. As punishment, the hand he used to steal will be cut off, but as Jafar puts out his arm, the Sultan sees the ring and recognizes it as something that once belonged to himself. Though he has hopes of being accepted as his son, the Sultan only sets him up as a serving boy in the palace. One day, Jafar speaks out of turn when the Sultan's son, Mirza, doesn't know how to explain a regulation rule, and he gives the answer in his stead. This earns him a humiliating physical reprimand from Mirza, which the Sultan cruelly encourages. Despite that, Jafar is forgiving and still vies for his father's love, though all hopes of this are snuffed out when the Sultan drowns him in a water basin and tosses his body on the outskirts of town. Unbeknownst to the Sultan, Jafar is still alive and awakens with a festering hatred for him.
 * -|Before the Curse=

Jafar survives by gaining an apprenticeship for a demanding and harsh blacksmith. He sees a sorcerer, Amara, pass through the marketplace as all in her presence cower in fear. In awe, he stares at her until she meets his gaze for several seconds. At nightfall, he shows up at her home pleading to learn the dark arts from her. She doesn't agree until he discloses his reason for needing dark magic, which is to get revenge against the Sultan for abandoning him. Satisfied with the answer, she agrees to his request. As Jafar grows into a man, Amara puts him to the test by poisoning wine that he gifted to a friend, Akil, for retrieving his sheep. Only after Akil ingests it does she tell Jafar and present him with the antidote, but heeds if he saves his friend, they won't have the liver they need for a spell. Jafar chooses magic and lets Akil perish to the poison, which Amara is pleased with. She doesn't withhold from her growing attraction to Jafar, and entrances him with a passionate kiss. The two become lovers as Amara tells him about her master plan to collect three genies. With her and Jafar's combined powers, they can use the genies to break the laws of magic and gain anything their hearts' desire. Throughout the years, they successfully procure two of the three genies. When Jafar discovers the third genie's location, his unwillingness to share power causes him to poison Amara. As she dies, he turns Amara into a serpent staff so her powers will be accessible to him at all times.

Sometime after, Jafar storms into the throne room of the palace to confront the Sultan, who is stunned to see the person he believed was long dead. He threatens the Sultan's life just as Mirza happens to witness the exchange. Jafar challenges the prince to a duel, but Mirza, out of fear, begins running away only to be killed instantaneously by the sorcerer's magic. Even in the face of Mirza's cowardice, the Sultan openly mourns his death. Jafar angrily draws the contrast between Mirza, who can't even defend the Sultan, while he himself would have died for his sake. The Sultan refuses to ever give Jafar acknowledgement as a son, prompting the sorcerer to imprison him a lair.

Jafar tracks down the third genie, Cyrus, to a scarf vendor store owned by a man named Farzeen. He casually assesses the fortunate state of Farzeen's livelihood, such as the size of his home despite the low income, and a garden of fresh vegetables as well as possession of two camels. Finally, he calls the man out for having become so wealthy with the help of a genie, but Farzeen hastily denies such a thing and insists his family investment allows him to live so comfortably. The backroom tea kettle coming to a screeching boil interrupts on the conversation, and Farzeen excuses himself to go turn it off, but actually goes to take out the genie's bottle. Panicking, Farzeen states that the man with the serpent staff, which Cyrus always warned him about, is in the house. Cyrus attempts to console Farzeen with the promise of helping him, but he is too frightened. He wishes the genie away to a far-off land just as Jafar bursts in and attempts to grab Cyrus, who disappears into his bottle and vanishes. Jafar interrogates Farzeen, while choking him, about the genie's current whereabouts. Farzeen admits he doesn't know. For his uselessness, Jafar kills him.

Trivia

 * According to Prince Eric, Agrabah is across the desert from the Enchanted Forest.

Appearances
Note: "Archive" denotes archive footage.