He is the clone marshal commander of the Third Systems Army, which included the 212th Attack Battalion and Ghost Company. Cody fought alongside Jedi General Obi-Wan Kenobi. Commander Cody is a clone trooper of the Lucas Film Star Wars series and claims designation number CC-2224.
A natural and practical leader in the clone army, Cody's keen ability to strategize, combined with his fierce combat style in the heat of battle, earned him the respect of the Jedi, and of his fellow clones as well. He often worked with fellow clone Captain Rex, with whom he became friends. Cody enjoyed a close relationship with Kenobi, often sharing a tension-busting joke with him during intense moments on the battlefield. When the Order 66 was given, however, Cody's loyalty to Kenobi was eclipsed by his clone indoctrination, and he ordered his troops to fire on the Jedi.