Gregory Swofford has been wounded both inside and out due to his past experiences with the Transformers. A vengeful scientist, he blames Optimus Prime for his scarred face, but was unwittingly instrumental in bringing the Autobot leader back to life. He is a professional partner to Mark Morgan, and has a professional, and perhaps romantic, relationship with Morgan's daughter, Jessica.
Gregory Swofford and Jessica Morgan were conducting tests on Dr. Mark Morgan's experimental heat-resistant alloy near a star, when they discovered an Autobot ship carrying the body of Optimus Prime. Swofford remembered back to a fight he walked in on between Prime and Megatron in a laboratory full of Transformer-sized beakers. Due to Megatron's interference, Swofford was injured and scarred during the fight, but the scientist blamed Optimus Prime for his injuries. Despite this, he helped Jessica retrieve Prime's body from the Autobot ship before the it collided with the star, but not before he pounded on Prime's arm for being "a lousy robot." Jerk.
As he and Jessica escaped the exploding star, Swofford noticed that strange spores were coating their ship. Back on earth he and Dr. Morgan studied the spores and discovered their hate-inducing properties. An attack on their lab by the Terrorcons cut short their experiments and injured Jessica, paralyzing her. After she was taken to the hospital by First Aid, Swofford and Morgan fumed about their hatred of the Transformers, which inspired Swofford's plan to use Optimus Prime's body to destroy the Autobots.
Later, Swofford accompanied Morgan to the hospital to find that Jessica had been given an exo-skeleton suit by the Autobots so she could walk again. Instead of being thankful for his daughter's recovery, Morgan was furious and brought Jessica home with Swofford presumably in tow.
Despite their best efforts, Swofford and Morgan were unable to activate Optimus Prime, so Swofford prepared to melt Prime's body in a furnace. When Jessica tearfully demanded that they stop, Swofford complied, only because he planned on using Prime's body as bait to lure the other Autobots into a trap and infect them with the hate-inducing spores.
When Optimus Prime opened the Matrix to cure the Hate Plague, Gregory and Jessica were restored and embraced each other. Swofford then apologized for all of the trouble that he caused and offered a hand to Optimus but Optimus refused as Galvatron walked towards him and shaked his hand instead. It was likely both Swofford and Morgan faced consequences in the end for nearly destroying or killing all lives in the galaxy.