Formation and evolution of the Solar System timescale of their formation. At the current locations it would have taken millions of years for their cores to accrete. This means that Uranus and Neptune may have formed closer to the Sun—near or even between Jupiter and Saturn—and later migrated or were ejected outward (see Planetary migration below). Motion in the planetesimal era was not all inward toward the Sun; the "Stardust" sample return from Comet Wild 2 has suggested that materials from the early formation of the Solar System migrated from the warmer inner Solar System to the region of the Kuiper belt. After between three and ten
Jupiter its strong gravitational influence. The orbit of the material veers towards Jupiter and new material is added by additional impacts. In a similar way, the moons Thebe and Amalthea probably produce the two distinct components of the dusty gossamer ring. There is also evidence of a rocky ring strung along Amalthea's orbit which may consist of collisional debris from that moon. Along with the Sun, the gravitational influence of Jupiter has helped shape the Solar System. The orbits of most of the system's planets lie closer to Jupiter's orbital plane than the Sun's equatorial plane (Mercury is the only planet