Space dust

When a comet travelled through a cloud of space dust, each dust particle became magnetised, and joined together. This formed the rogue planet, Skardal. (COMIC: The Rogue Planet)