Villains Wiki

Hi. This is Thesecret1070. I am an admin of this site. Edit as much as you wish, but one little thing... If you are going to edit a lot, then make yourself a user and login. Other than that, enjoy Villains Wiki!!!


Villains Wiki

"I don't have to deal with you, but I do have to wreck everything."
~ William while under X.A.N.A.'s control.

William Dunbar is the secondary antagonist in Code Lyoko. He is one of the students at Kadic and Ulrich's rival in competing for Yumi's affection. Alongside Franz Hopper, he is the only character aside from the main group to ever enter Lyoko, but it only caused him to be brainwashed and captured by X.A.N.A., who turned William into his general for most of the Season 4 until the finale.

He was voiced by David Gasman, who also voiced X.A.N.A..


Prior to the series

William in the Real World, before ever entering Lyoko.

William Dunbar was raised by his loving parents, growing up and living a fairly normal life. Before he transferred to Kadic Academy, William was infamous at his previous schools for his "puppy love" and stunts he pulled because of it. His most recent school prior expelled him for strewing love letters around the halls.


William was introduced early in the second season and though his crush on Yumi wasn't obvious in his first couple of episodes, the jealousy he stirred in Ulrich was. His crush on Yumi started showing eventually but in the form of a Casanova facade rather than his usual blind puppy love.

Earthly Encounters

When not advancing on Yumi, William can be seen having heart-to-heart conversations with Ulrich or fighting off XANA's attacks when and how he sees fit. After each time reversion Ulrich goes through, the bad aspects of their relationship are erased and they both gain a mutual respect for each other. Meanwhile, Yumi tends to leave her relationship with him unmended when the group avoids time reversions.

As of Season 3, William becomes more and more curious about Lyoko Warriors and their sudden disappearances. In episode Lyoko Minus One he is helping out Ulrich to save Yumi from his xanafied classmates, Jim and Mrs. Hertz in the forest. In episode The Secret, when she sneaks away from him to fight XANA one night and leaving him in a foul mood the next day and this ultimately piques William's curiosity. At XANA's next outing, William secretly follows Jeremy and Aelita to the computer lab and gains a broad understanding of XANA, albeit temporarily. When they finally discover XANA's motivations, William and Yumi must fight with possessed demoman on the factory bridge. But when they notice that the factory has been rigged with explosives and they cannot launch return to the past as Aelita has been possessed by the Scyphozoa on Lyoko, William decides to defuse the detonator bomb that possessed demoman had planted to save Lyoko Warriors. After seeing how William can be helpful they decide to vote to officially welcome William into their group. However, Yumi vetoes him and his memory is seemingly erased by a time reversion.

In episode Double Trouble before the last surface sector of Lyoko is destroyed, William tells Yumi about the fight from several episodes before and says he thinks it's a dream. When he hears Yumi saying to Jeremy that she cannot skip the class again he tells her that he will cover for her while she stops XANA's following attack as if he could do in a dream he can do it in reality. XANA's attack ultimately succeeds to destroy Mountain Sector and thus cutting off the access to Sector 5, but Jeremy manages to successfully fabricate a working transfer protocol for Sector 5, and given the pressure surrounding Lyoko's survival Yumi changes her mind and decides to recruit William. She does this by telling William that his dream was real and William accepts.

In episode Final Round Lyoko Warriors have real life problems occupy every Lyoko Warrior except for Aelita, she is forced to bring inexperienced William to Lyoko's Sector 5 for the first time when XANA attacks the core. William's brashness and lack of training lead him to become separated from Aelita and attacked by the Scyphozoa. William then falls under XANA's control, devirtualizes Aelita and proceeds to the core to destroy Lyoko. In spite of the remaining Lyoko Warriors' efforts, William destroys the core along with Sector 5 and is deleted along with Lyoko. However, XANA's possession allows it to salvage William's DNA codes from the network and recreate William as XANA's general.

Executing XANA's Ultimate Plan

The Lyoko Warriors manage to recreate Lyoko with data shared by Franz Hopper along with staving off Kadic and the authorities by posing as William over the phone. With Lyoko's rebirth, XANA sends William back to Earth as a double agent to get close to Aelita and while the Lyoko Warriors were questioning the circumstances that led to William coming back in episode William Returns, he kidnaps her and attempts to throw her into the Digital Sea. When that fails, the group decides to create a spectre to pose as William on Earth, however the duplicate William was significantly dumber than the real one and would often cause others to suspect his behavior.

XANA would continue to use William as a loyal warrior that does everything it commands. He allows it to use more effective means of fighting the group and exploit their guilt over his capture. XANA has him carry out its schemes and protect its assets in the world network. XANA's modifications have turned him into a fighter with overwhelming strength to battle against the group, command monsters like a general, influence activated Towers, and enter Towers to use their interfaces where monsters cannot. XANA has also given him a Black Manta to ride on, and creates a Nav Skid sub for battles in the Digital Sea based on Skidbladnir data stolen by the Scyphozoa. XANA can also materialize him from the Scanners without activating a Tower to do its bidding in the real world as a pixelized human.

It is then revealed that XANA has William target Aelita because her deletion can draw Franz Hopper from the recesses of the network at which point its minions can attack and eventually kill him.

During the first attack on the fourth replika, XANA teleports William to Earth as a spectre in Lyoko form in order to stop the teleportation without the kill code. This turns out to be a miscalculation, as Aelita discovers William's exposed DNA codes in the tower that XANA used to send William to Earth. At the same time though, XANA also collects power from the replicas to generate a new monster which causes the Lyoko Warriors to retreat. This new monster dubbed "the Kolossus" aids William in defending the replica during the second attempt. Where the Kolossus succeeds, William fails due to being devirtualized and reconstituted on Earth, freeing him from XANA's control.

XANA's Endgame

William does manage to take hold of his life, in light of the spectre's blunders, but he is not on the best terms with the Lyoko Warriors due to the conscious folly that got him possessed. When they go to the factory for what would appear to be the last time, William follows them and volunteers to go to Lyoko. However, they decide to only have him come as potential backup. XANA, in an act of desperation, decides to possess William on Earth with its most personable spectre and have him disable the factory and Jeremy. Following the release of the Anti-XANA program, the spectre is expelled from William's body, screaming and writhing in pain assuring the program's destruction.

Forgetting XANA

Though William did not have a say in shutting down the supercomputer following XANA's destruction, he convinces Yumi that her conviction to shut it down is the right thing as they reminisce on their previous fights. Ultimately, when the supercomputer is shut down, William is not seen after the fact, but it is assumed that he moved on with the rest of the group and left XANA behind as a bad memory.

William Dunbar’s green clone

Code Lyoko Evolution

In Code Lyoko Evolution, William becomes a full member of the group and fights alongside them against X.A.N.A.. In "The Codeless" when Jeremy virtualized Yumi and William to the Desert Sector to deactivate the tower they noticed that there was another William that looks exactly like him but his skin was light green. Yumi was about to attack him but was punched and lost some of her life points. As Jeremy tells her to be very extra careful not to lose any more life points, the William clone begins to welcome the real William back home on Lyoko which he begins to know that William has feelings for her and he begins to know that he becomes rejected manipulated and always the team waited for him and then reject him after that she tells him not to listen to him he brings up all the past memories of months ago when he was on there he was a king and all the monsters obey his every command tell him that and no one didn't hurt him anymore.

Yumi tries to tell him to snap out of it but he became furious of being rejected again as he begins to go with him she tried to convince him not to listen to them anymore he begins to use his blade by telling her to be quiet however she begins to tell him that he only want their codes and doesn't care about him As yumi becomes double cross and run away clone William told him She abandoned you again, yumi becomes very scared of William and his clone are coming after her however she became trapped and nowhere else to go she and Jeremy was trying to convince him to not do this however he played along and attacked his clone realizing that his friends and saving the world is more important than being a king and a slave of X.A.NA again As clone William became disappointed of the choice that he made and go straight after yumi she managed to go to the Tower but she was blocked by his evil clone however he Manage to stop his clone and defeated him.

However in the episode Mutiny, William is once again pocesed by X.A.N.A. using the scyphozoa although it is not a full conversion as it's tentacles are still attached to him. William then leads an army of Krabes to kill the group. They try to talk him down but it doesn't work. Ulrich then distracts him and his monsters (as he is in control of them) which gives the rest of them enough time to cut the tentacles which frees William and kills all the monsters.

Powers and Abilities

On Earth

William has slightly above-average athleticism and combat training to a point where he is capable of balancing himself on a makeshift staff while performing a kick that can hit four people in one swing. Other than that, he is still human and has no notable physical traits.

As a spectre, he gains incredible strength and speed, the ability to shoot lighting, and is completely indestructible due to his incomparable connection to Lyoko. William's unique connection to XANA allows him to survive anything that would kill any other virtualized human. Supposedly, he's also immune to the extreme physical trauma from more pain-inducing injuries.

On Lyoko

William is statistically more powerful than three of the Lyoko Warriors combined due to XANA's augmentations. He has three times the amount of life-points and is able to take multiple hits from Aelita's energy blasts and Odd's Laser Arrows, both of which could devirtualize anyone else in one or two shots. William's most iconic power is his "Super Smoke" an ability explicitly given to him through XANA's design. With it, he can dispense small clouds of black smoke to throw or carry his enemies. This ability also allows him to turn into a slightly larger cloud that is indestructible, has omnidirectional transport range and can fly at higher speeds than Aelita's wings. William's suit is also equipped with a spiked brace on the left arm, which usually blocks damage, but has been seen taking damage from Yumi's fans. Inherently, after being possessed by XANA, William has total command over XANA's monsters, as he has been shown telling them to perform near/totally suicidal attacks on multiple occasions.

William's Lyoko Warrior weapon is a zweihander sword that can be called upon and concealed with his Super Smoke. The sword itself can absorb energy, perform energy slashes of varying strength and it allows William to hover and glide while not in his cloud state. It is also the most powerful weapon used aground in the whole series, being capable of devirtualizing or breaking any entity. The only time it fails to devirtualize is when the object being struck has life points that are dependant on a weak spot, like Ulrich's swords, or if its blade is being blocked by something that has higher hit points, such as Aelita's merged energy fields. The sword is powerful enough to destroy energy shields, which have tens-of-thousands of hit points, in two-to-three strikes.

It is unknown what the Eye of XANA located on the center of the sword does, but it has been snown to make the entire sword light up with red shockwaves when struck, which indicates that the sword can possibly be destroyed by hitting it hard enough, but this has never happened. Though the sword is powerful, it is too heavy for William to control without both hands. When not propped over his shoulder, the sword is usually being dragged around or is concealed until William summons it. William also has a habit of impaling his sword into the ground too hard and needs time to pull it out again, at which point he either results to hand-to-hand combat or gets devirtualized from leaving his guard down for too long.

In terms of off-hand equipment, William is capable of summoning a black Manta from under Lyoko, which he can ride and create reigns for using his Super Smoke. When fighting inside the Digital Sea, he uses a submarine called the Rorkai, a blockier version of the one Lyoko Warriors' submarine pods. It has the same equipment and life energy, but it apparently cannot shield itself from torpedoes launched by the submarine pods, and two torpedoes it launches can't even down the shields of the main sub.


William's Lyoko form, after being possessed, but before his complete transformation.

William initially comes off as being a normal teenager with well-behaved tendencies. The tendencies stem from an obsession of expressing his puppy love, which he has been known to be expelled from previous schools over. As the series progresses, William falls in love with Yumi Ishiyama and tries to advance on her to no avail and realizes that she is more interested in Ulrich, but still persists. When his curiosity is piqued, he becomes somewhat argumentative and obnoxious to the point of impulsively stalking Jeremy and Aelita just because they're Yumi's closest friends, and ignoring important advice from Aelita just to have fun destroying XANA's monsters. However, despite all of this, William is both noble and humble enough to help people he doesn't like, which is how he earned Ulrich's respect during XANA's various attacks.

After XANA takes permanent control of him, William is initially stoic and sometimes callous, saying very few words though the words spoken are harsh and commanding. His hypnotic dedication to XANA even encourages him to shout "FOR XANA!" during battle. As the possession deepens William stops targeting Yumi and develops a sadistic obsession with Aelita, along with speaking more frequently. Even under XANA's control, William takes a cunning human approach to dealing with the Lyoko Warriors: he has even used his normal, unsynthesized voice to fool the Lyoko-warriors into believing he was freed from XANA's control.

According to the writers, William is usually running through battle simulations when not on Lyoko to widen his strategic range and his inability to be reasoned with while possessed is because he subconsciously blames the Lyoko Warriors, especially Yumi, for his enslavement.

That said, the real William still exists deep within XANA's control. He refers to Yumi by name more frequently than the other Lyoko-warriors, and he briefly returns to an heroic role in "The Lake", when Yumi tries to remind him that he's a Lyoko-warrior. William consequently puts up a mental fight against XANA's control, and even briefly regains control of his body, but XANA reasserts its control, and William ends up possessed once more. That event, however, convinces Yumi and Aelita even more that William can still be rescued.

According to one of the lead writers, Sophie Decroisette, William is not incorruptible. Had Code Lyoko carried on beyond season 4, William would have become an agent of XANA again, this time of his own accord, and played a part in its resurrection.


           Cartoon Network 2010 logo.svg Villains

Code Lyoko
XANA | William Dunbar | Men in Black | Scyphozoa | Laura Gauther

TV Movie Villains
Albadon | Astaroth | Troy Adams | Steve | Big Rob | White Diamond | Spinel | Sonny Appleday | Grandfather | Father | Senior Citi-zombies | Agent Trout | National Wildlife Control

Crossover Villains
Lord Fuse | The Announcer's Remote Control | Delightful Reaper | Alpha | Strike

Sym-Bionic Titan Villains
General Modula | Galalunan Commander

What A Cartoon!
Yuckie Duck | Sledgehammer O'Possum | Dogg | Big Bad Wolf | Wind Up Wolf | Luther | Fox Chef | French Chef | Tumbleweed Tex | Noof | Mad Bomber | Reilly | Blammo the Clown | Boid | Aliens

Dexter's Laboratory
Mandark | Quackor | Crazy Robot | Badaxtra | Hookocho | Lalavava | Comrade Red | Mental Mouse | Huntor | Peltra | Simion | Orgon Grindor | Dynomutt X-90 | Ultrabot 2000

Cow and Chicken
Red Guy

¡Mucha Lucha!
Queen Voladora | Monster of San Luis Rey | 6-Armed Monster | Carlton Cold Jones | Heavy Traffic | Primadonna Hodges | Cindy Slam | Potato Patata Jr. | El Perrito | El Custodio | El Dolor De Kurtz | El Evil Cheese Grande | El Evil Dentista of Doom | El Haystack Grande | Coco Demento | El Maléfico | El Pared | El Toro Amarillo | Esteban | Futboloco | Mask Savages | Masked Toilet | Mysterioso Grande | Mr. Fishy Fish | El Oscuro Invasor | Rick O' Shea | Private Reinhardt | Queen Voladora's Mummified Mommy | Slurf | Timmy of a Thousand Masks

I Am Weasel
I.R. Baboon

Ed Edd n' Eddy
Kevin | Sarah | Kanker Sisters | Belly Button Eater | Eddy's Brother | Ed's Hallucinations | Lemon Brook Lumpers | Mole Mutants | Edzilla | Prank Master

The Grim Adventures of Billy & Mandy
Grim | Mandy | Nergal | Eris | Mindy | Sperg | Bogeyman | Jack O' Lantern | Pinocchio | Geppetto | Cthulhu | Morg | Bunny | Delightful Reaper | Bun Bun | Pan-dora | Hoss Delgado | Hector Con Carne | General Reginald Skarr | Brain-Eating Meteor | Mask of the Beast | Lord Moldybutt | Major Doctor Ghastly | Lionel Van Helsing | Nancy Claus | Estroy | John Jack Daniel Torrance | Wiggy Jiggy Jed | Yaap Yaap | Triceratron | Clowns | Lord Pain | Professor Death Ray Eyes | New Mandy | Super Chicken | Dreadbots | Arachnotaur | Velma Green the Spider Queen

Edgar & Ellen
Edgar and Ellen | Pet | Stephanie Knightleigh

Krypto The Superdog
Mechanikat | Snooky Wookums | Delilah | Bud and Lou

The Life & Times of Juniper Lee
Auntie Roon | Auntie Roon's Minions | Loki | Thor | Demoness | Jonathan | Kai Yee | Lex | Sandman | Vikki Devvyne | Taylor Evermore | Wrongness

Foster's Home for Imaginary Friends
Terrence | Berry | Duchess | Extremesaurs | Kip Snip | Lord Snotzax | Lil' Lincoln | Nemesis | Omnizot | Wild Mac | World

Hi Hi Puffy AmiYumi
Axel & Rod Skidmark | Eldwin Blair | Mr. Darrell | Mr. Master | P.A.L. | Rumaki | Sunekura | Sauerkraut Malone | Julie

Camp Lazlo
Scoutmaster Lumpus | Edward Platypus | Commander Hoo-Ha | Ms. Mucus | Edward's Brothers | Chip & Skip | Gretchen | Meatman | Timmy and Tommy | Cousin Sinkbug | Aliens | Clowns | Conjoined Pigs | Beastly Bumblepuss | Cheese Obsessed Canadian Trouts | Elebug | Lake Monster

My Gym Partner's a Monkey
Bobby Lion | Bull Sharkowski | Chad | Euripides Sharkowski | Larry Raccoon | Lola Llama | Possum Girl | Principal Wolverine | Rick Platypus | Mr. Cheetah | The Spiffies | The Ferals | Ted Oxpecker

Miss Endive | Gorgonzola | Reuben | Chestnut | Funjl | Meaches | Gumbo | Mr. Fugu | King of the Sky | Sour Ron | Kevin | Frank | Scary | Puckerberry Overlords | Sour Wife | Rosemary | Cinnamini Monster | Weirdos | Frau Broten | Florentine | Jeffrey | Peking Duck | Jam | Mr. Samball | Robert Limburger | Pepperjack | Flendive | Crazy Fruit | Meanie Cream Cake | Mold Pixie | Steve | The Teriyaki Triads | Roquefort | Ms. Butterscotch

Johnny Test
Bling-Bling Boy | Wacko | Mr. Mittens | Brain Freezer | Zizrar the Mole King | The Beekeeper | Dark Vegan | Bumper Randalls | Road Burn | Mutant Agents | Miss X and Miss Z | Robot Johnny & Dukey | Evil Johnny | Sissy Blakely | Blast Ketchup | The Tickler | Moon Fiends | Lunch Lady | Mr. Henry Teacherman | Monty Butterworth | Fluffybuns | Dr. Swampbrain | King Fufassel

The Secret Saturdays
V.V. Argost | Munya | Argost's Army | Rani Nagi | Zak Monday | Doc Monday | Drew Monday | Fiskerton Monday | Zon Monday | Abbey Grey | Baron Finster | Francis | Shock Troopers

The Mr. Men Show
Little Miss Naughty | Little Miss Scary | Mr. Stubborn | Aliens | Mr. Metal | Sea Monster | Snow Monster

Hero 108
High Roller | Sparky Black | Sparky White | Chameleons | Eagles | Whales | Zebra Brothers | Bounty Hunters | Chiung Ming | Cocky Aliens | Commander of Darkness | Flying Fish | Infinitum | Komodo Dragons | Minotaur King | Moosie Ghostface | Red Seahorse Prince | Shadow Monster (entity) | Soil Monster | Soldiers of Darkness | Spotter | Stone Monkey Deity | The Object-Morphing Demons | Tri Puppy | Twin Masters | Wolf Eels | Seahorse Prince | Blue Seahorse Prince

Nixels | Major Nixel | King Nixel | Nixel Guard | Nixie | Painted Nixels | Slap Nixel | Tentacle Nixel | Muscle Nixel | Boomerang Nixel | Cannon Nixel | Boxing Nixel | Catch Up Nixel

We Bare Bears
Nom Nom | Dave | Ralph | Barry Charles | Wolves | Cory | Ari Curd | Andrew Bangs| Barry's Robots | Techies Club | Pigeon Cartel | Ragtag Kids | Saanvi Patel | Homewrecker | Kyle | Pet Shoppe Owner | Lewis | Lucille | Mad Scientist | Agent Trout

The Looney Tunes Show
Cecil Turtle | Yosemite Sam | Elmer Fudd | Marvin the Martian | Wile E. Coyote | Sylvester | Taz | Daffy Duck | Henery Hawk | George P. Dog

New Looney Tunes
Yosemite Sam | Ivana | Rhona Roundhouse | Carl the Grim Rabbit | Elmer Fudd | Marvin the Martian | King Thes | Cal | Jack | Eagle Scout | Hazmat | Count Bloodcount | Sir Littlechin | Computer Virus | Winter Stag | Krakos the Polar Bear | Scarecrow | Vera the Vulture | Ninjas

Mighty Magiswords
Queen Porcina | Morbidia | Gateux | Phil The Pilefer | Glori | Nohyas | King Rexxtopher | DeBizz | Helmut | Manfish the Fish Man | Frostferatu | Brocoli Dumplin Kids | Brotherhood of Thieves | Francis Thingshooter | Naso | Birda | Purrlance | Mr. Flumooks

Over the Garden Wall
The Beast | Adelaide | Dog | Evil Spirit | The North Wind

Belson Noles | Balance | Brenda Shoop | Joshua | Mildred | Cooter | Malakevin | Carol Moody | Mr. Noles | Seabass

Uncle Grandpa
Pizza Steve | Aunt Grandma | Cheesepuff Mike | Bottom Bag | Chinease Take Out Delivery Guy | Christopher Columbus | Cloud Wizard | Curly | Emperor Krell | Evil Forces Shadow Guy | Foreign Madman | Free Sample Elves | Galaxy Guardians | Gary | G-Dog | Gornak | Green Alien | Jimmy | Kevin E. Peepants | Kid Cousin | Larry | Leo | Lexus, Lisa, & Lori | Moe | Mouse | Mole People | Moon Man | Mud Goblins

Generator Rex
Black Knight | Van Kleiss | The Pack (Biowulf , Breach , Skalamandar, Bouncer, I-Bol & Circe ) | Consortium | Dr. Branden Moses

Annoying Orange
Broccoli Overlord | Broccoli Minions | Grapefruit | Big Rock Candy Monster | Teddy Juicer

Apple & Onion
Beef Jerky | Cheesesteak | Duck | Maritimers (Crab Cake, Tempura Shrimp & Tuna Can)

Summer Camp Island
Basketball | Jabberwock | Jeremiah

We Baby Bears
Madame Malin | Madeline | Craig | Dashiel | Francis | Mayor Centipede

See Also
Adventure Time Villains | Ben 10 Villains | Courage the Cowardly Dog Villains | Craig of the Creek Villains | Infinity Train Villains | KND Villains | OK K.O Villains | Powerpuff Girls Villains | Regular Show Villains | Robotboy Villains | Samurai Jack Villains | Steven Universe Villains | Teen Titans Villains | Teen Titans Go! Villains | The Amazing World of Gumball Villains | Total Drama Villains | Victor and Valentino Villains | Villainous Villains

  - Logo 2018.svg Villains

Code Loyko
XANA | Scyphozoa | Men in Black | William Dunbar