section_path: Formation and migration
section_name: Formation and migration
paragraph_text: Formation and migration
  
  Jupiter is believed to be the oldest planet in the Solar System, having formed just one million years after the Sun and roughly 50 million years before Earth. Current models of Solar System formation suggest that Jupiter formed at or beyond the snow line: a distance from the early Sun where the temperature was sufficiently cold for volatiles such as water to condense into solids. The planet began as a solid core, which then accumulated its gaseous atmosphere. As a consequence, the planet must have formed before the solar nebula was fully dispersed. During its formation, Jupiter's mass gradually increased until it had 20 times the mass of the Earth, approximately half of which was made up of silicates, ices and other heavy-element constituents. When the proto-Jupiter grew larger than 50 Earth masses it created a gap in the solar nebula. Thereafter, the growing planet reached its final mass in 3–4 million years. Since Jupiter is made of the same elements as the Sun (hydrogen and helium) it has been suggested that the Solar System might have been early in its formation a system of multiple protostars, which are quite common, with Jupiter being the second but failed protostar. But the Solar System never developed into a system of multiple stars and Jupiter today does not qualify as a protostar or brown dwarf since it does not have enough mass to fuse hydrogen.
  
  According to the " grand tack hypothesis ", Jupiter began to form at a distance of roughly 3.5 AU (520 million km; 330 million mi) from the Sun. As the young planet accreted mass, interaction with the gas disk orbiting the Sun and orbital resonances with Saturn caused it to migrate inward. This upset the orbits of several super-Earths orbiting closer to the Sun, causing them to collide destructively. Saturn would later have begun to migrate inwards at a faster rate than Jupiter, until the two planets became captured in a 3:2 mean motion resonance at approximately 1.5 AU (220 million km; 140 million mi) from the Sun. This changed the direction of migration, causing them to migrate away from the Sun and out of the inner system to their current locations. All of this happened over a period of 3–6 million years, with the final migration of Jupiter occurring over several hundred thousand years. Jupiter's migration from the inner solar system eventually allowed the inner planets—including Earth—to form from the rubble.
  
  There are several unresolved issues with the grand tack hypothesis. The resulting formation timescales of terrestrial planets appear to be inconsistent with the measured elemental composition. It is likely that Jupiter would have settled into an orbit much closer to the Sun if it had migrated through the solar nebula. Some competing models of Solar System formation predict the formation of Jupiter with orbital properties that are close to those of the present day planet. Other models predict Jupiter forming at distances much farther out, such as 18 AU (2.7 billion km; 1.7 billion mi).
  
  According to the Nice model, infall of proto- Kuiper belt objects over the first 600 million years of Solar System history caused Jupiter and Saturn to migrate from their initial positions into a 1:2 resonance, which caused Saturn to shift into a higher orbit, disrupting the orbits of Uranus and Neptune, depleting the Kuiper belt, and triggering the Late Heavy Bombardment.
  
  Based on Jupiter's composition, researchers have made the case for an initial formation outside the molecular nitrogen (N) snow line, which is estimated at 20–30 AU (3.0–4.5 billion km; 1.9–2.8 billion mi) from the Sun, and possibly even outside the argon snow line, which may be as far as 40 AU (6.0 billion km; 3.7 billion mi). Having formed at one of these extreme distances, Jupiter would then have, over a roughly 700,000-year period, migrated inwards to its current location, during an epoch approximately 2–3 million years after the planet began to form. In this model, Saturn, Uranus, and Neptune would have formed even further out than Jupiter, and Saturn would also have migrated inwards.