... Just a few million years after the first stars formed, ...
... a magnetic field formed with the core of the planet itself. ...