The Magus was an evil future version of Adam Warlock born from Chaos and Order's efforts to create a champion of life to oppose Thanos, the champion of Death.
When the Magus and his empire were opposed by the Adam Warlock of their timeline via a temporal paradox, the Magus saturated him with harmless radiation to attract the In-Betweener, agent of Chaos and Order. Warlock was then transported by the In-Betweener to a realm outside space and time where Chaos and Order educated him in their ways, ultimately driving him into madness and turning him into the Magus. After somehow arriving five thousand years in the past on an unidentified planet, the Magus conquered its natives and founded the Universal Church of Truth, which he expanded into an intergalactic empire through holy war.
In consequence of a spell Warlock had to cast to save his universe, elements of Earth-7528 manifested in Earth-616 long before the spell had been cast, and thus the Magus was reborn from the evil half of Adam Warlock's soul, which Warlock had subconsciously purged from himself (along with its good half) after gaining virtual omnipotence through the Infinity Gauntlet to become a logical god.