CC-2224, nicknamed «Cody,» was a Clone Marshal Commander in the Grand Army of the Republic who commanded the 7th Sky Corps—including the renowned 212th Attack Battalion—during the Clone Wars. He served under the command of Jedi General Obi-Wan Kenobi, who found the commander to be reliable, trustworthy and loyal. His abilities as a soldier and strategist earned Cody the respect of both his Jedi superiors and fellow clone troopers.
During the final years of the Republic Era, Cody was created as part of an army of genetically-identical soldiers bred from the template of Jango Fett, a human bounty hunter, and conditioned for absolute loyalty to the Galactic Republic. Once deployed from the clone homeworld of Kamino, Cody served in several major battles against the Confederacy of Independent Systems, such as the Battle of Christophsis, the Second Battle of Geonosis, and the Battle of Anaxes. In addition to General Kenobi, Cody formed a friendship with Clone Captain CT-7567 «Rex,» a fellow clone trooper officer who served in Jedi General Anakin Skywalker‘s elite 501st Legion.
Following the Battle of Coruscant, the Jedi High Council deployed Cody’s battalion to the planet Utapau where General Grievous and the Separatist Council had taken refuge. His troops overwhelmed the Separatist Droid Army while Kenobi engaged Grievous, destroying the cyborg general and effectively ending the Clone Wars. As the Battle of Utapau continued, Cody received a transmission from Coruscant in which Supreme Chancellor Sheev Palpatine instructed the commander to execute Order 66. As a result, Cody turned against his longtime general and friend but ultimately failed to kill him. Nevertheless, his service continued under the reign of the Galactic Empire and assisting in the final enslavement of Kashyyyk.