Cody and I practically invented these emergency protocols back in the Clone War.

CC-2224 (nicknamed "Cody") was a Clone Marshal Commander of the Galactic Republic's 212th Attack Battalion during the Clone Wars. He served under Obi-Wan Kenobi and often fought alongside the 501st Legion's Captain Rex. During the war, Cody and Rex created military codes that would later be used by the Galactic Empire. However, unlike Rex, Cody did not have his control chip removed, and thus turned against Obi-Wan during Order 66, though he failed to eliminate the Jedi Master.


Cody was placed in charge of the 7th Sky Corps with Jedi General Obi-Wan Kenobi. He personally led the 212th Attack Battalion, a unit within it, and participated in a multitude of key battles throughout the war. On many of these campaigns, such as on Christophsis, Geonosis, Umbara, and Anaxes, Cody and his unit fought alongside Captain Rex's 501st Legion, resulting in their close friendship. Cody and Clone Captain Gregor both fought in the Battle of Sarrish as well, though the battle was lost, resulting in massive casualties for the 212th and Gregor going MIA.

At the end of the war, Cody and Kenobi's forces were deployed to Utapau to hunt down General Grievous. However, the Commander received the signal for Order 66 from Chancellor Palpatine, and ordered an All Terrain Tactical Enforcer to fire on Kenobi's position. Though the Commander believed the Jedi to be dead, Obi-Wan actually escaped


Obi-Wan Kenobi

Main article: Obi-Wan Kenobi

Cody was assigned to Kenobi during the Clone Wars, and served closely with the Jedi throughout the entirety of the war. The two of them formed an extremely close bond and became friends as the war waged on, with Cody never doubting his general's abilities and Kenobi relying on the commander as his right-hand man. Kenobi's personality and tendencies of following standard procedure was reflected by Cody's own leadership.

However, Cody, unable to resist the inhibitor chip placed in his brain, ultimately betrayed Obi-Wan. When Order 66 was issued, the commander ordered his troops to fire upon Kenobi without hesitation, though the Jedi escaped.


Main article: Rex

Cody and Rex were Clone Trooper officers during the Clone Wars. Both soldiers became close friends in the war, finding themselves on the same battlefield numerous times. They were often assigned to the same special operations missions, from rescuing a Jedi in an enemy prison to locating a traitor among their own ranks. Cody, though he outranked Rex, trusted in the captain's abilities, and placed him in charge on many occasions.

It is unknown if the two clones ever met again after Order 66 was carried out.



Season Two

Season Three

vedStar Wars Rebels Characters
Ezra Bridger | Kanan Jarrus | Sabine Wren | Garazeb Orrelios | Hera Syndulla | C1-10P | Jun Sato | Bail Organa | Ahsoka Tano | Rex | Quarrie | BG-81 | Leia Organa | R2-D2 | C-3PO | Tseebo | EG-86 | Ryder Azadi | Cham Syndulla | Gobi Glie | Numa | Rebel Crewman | Phoenix Leader | Phoenix One | Phoenix Two (1) | Phoenix Two (2) | Phoenix Two (3) | Phoenix Three | Phoenix Four | AP-5 | Dicer | Jan Dodonna | Wedge Antilles | Derek Klivian | Rake Gahree | Fenn Rau | Mart Mattin | Jonner Jin | Gooti Terez | R3-A3 | Morad Sumar | Marida Sumar | Jho | Alexsandr Kallus | Saw Gerrera | Ursa Wren | Tristan Wren | Mon Mothma | Erskin Semaj | Jon Vander | Tyson | Alrich Wren | Bo-Katan Kryze | R4-C2 | Edrio | Mich Matt | Jai Kell | Cikatro Vizago | Luke Skywalker
The Grand Inquisitor | Fifth Brother | Seventh Sister | Eighth Brother | Sixth Brother | Cumberlayne Aresko | Myles Grint | Maketh Tua | Gall Trayvis | Stormtrooper | TIE Pilot | RX-24 | 264 | Darth Vader | Sheev Palpatine | Wilhuff Tarkin | Imperial Officer | Imperial Combat Driver | Yogar Lyste | Brom Titus | Kassius Konstantine | Valen Rudor | Arihnda Pryce | Thrawn | Scout Trooper | Argin Relik | Vult Skerris | Imperial Super Commando | Gar Saxon | Slavin | Jumptrooper | Brunson | EXD-9 | LT-319 | 3-9 | PZ-7 | Death Trooper | Woldar | Tiber Saxon | Hark | DT-F16 | 3-6 | LS-757 | LS-261 | Orson Krennic | Rukh | LS-412 | LS-515 | Veris Hydan
ID9 Seeker Droid | IG-RM Thug Droid | Viper Probe Droid | IT-O Interrogator | GNK Power Droid | Spy Droid | 2-1B Surgical Droid | Mouse Droid | Tour Guide Droid | RX-Series droid | Astromech Droid | Courier Droid | Protocol Droid | B1 Battle Droid | Droideka | OOM Command Battle Droid | Tactical Droid | Pit Droid | Dismantler Droid | Super Tactical Droid | Imperial Sentry Droid | Imperial Infiltrator Droid
Bounty Hunters
Ketsu Onyo | Cad Bane | Embo
Azmorigan | Hondo Ohnaka | Maul | Terba | The Bendu | Melch | Kalani | B1-268 | Klik-Klak | Lando Calrissian | W1-LE | Father | Daughter | Son
Obi-Wan Kenobi | Yoda | Depa Billaba | Mace Windu | Luminara Unduli | Kit Fisto | Aayla Secura | Plo Koon | Cin Drallig | Jocasta Nu | Sammo Quid | Ki-Adi-Mundi | Tarre Vizsla
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+