Replying...
Intro. Unicron revives Megatron and possesses his body, intending to destroy the core of Cybertron (who is Primus, the creator of the Transformers) to wipe out all life on the planet. To stop Unicron, Optimus Prime retrieves the AllSpark, the life-source of all Cybertronians. Optimus succeeds by releasing the Overspark on the planet, which restores his ability to give life and allows the Transformers to recreate and repopulate their homeworld. Unicron's plan is ultimately thwarted. Unicron is expelled from Megatron's body, and Megatron, horrified by the experience of being controlled and witnessing Unicron's pure evil, renounces the Decepticon cause and goes into exile, ending the war. Cybertron advanced thanks to the autobots but Megatron's (me) life continued after voluntary exile

Transformers Prime: Predacons Rising, Megatron (yo)

@Megatron