Once Upon a Time in Wonderland Season 1 Episode 10
Dirty Little Secrets
Cyrus and Alice head to the Guardian of the Waters. She cursed Cyrus and his brothers and made them genies after Cyrus stole her water to save his mother's life. His mother turned out to be the woman in Jafar's serpent staff.
The Jabberwocky captures The Red Queen and Will for Jafar. She breaks the Red Queen and gets her to make her three wishes, condemning Will back to his bottle.
The Red Queen is now in Jafar's prison. Jafar has all three bottles. Cyrus and Alice try to come up with a plan to defeat Jafar.