In "Endgame" 2-parter, Ratchet builds Optimus a jetpack attachment to help in the coming battle against the Decepticons. After some initial difficulty, Optimus is able to get the hang of the device, only to be shot down by Starscream's female clone, Slipstream. Though Ratchet urges Optimus to use the Magnus Hammer, he is reluctant to do so, given his past with Ultra Magnus. In the end, he wields the weapon as the Lugnut-controlled Omega Supreme clones land on Earth. During the fight, Optimus manages to master the Magus Hammer's power in order t overwhelms Megatron to the point of being acknowledged by name. After a devastating battle, the last remaining Omega clones self-destruct due to Starscream's intervention. With Prowl's sacrifice, the Allspark is rebuilt into one as it forms a barrier around the Omega clone, along with Optimus and Megatron. Prowl's spirit pulls Optimus from the bubble just as the clone self-destructs with Megatron still trapped inside. Prime laments Prowl's passing before defeating a heavily damaged Megatron and sparing him the deathblow, saying that Megatron does not deserve the "easy way out". He and his team return to Cybertron with Omega Supreme, the captured Decepticons, and Prowl's body and are greeted as the hero he had wished to be so long ago. The reconstructed Allspark, having a structure similar to the G1 incarnation of the Autobot Matrix of Leadership, is hung around his neck.