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