Conditions during formation of the Earth
The formation of the Earth starts with gravitational instabilities in the gas of primitive solar nebula, which form giant gaseous protoplanets. The envelopes of these are thermally evaporated, but solids can gravitationally settle to the center of the protoplanets, and most of the core and mantle of the Earth were formed at that time (age about 10,000 years). The protoearth then survived a period of high temperatures in the surrounding gas (age about 10 to the 5th years). While and after the gas was thermally stabilized and removed from the solar system, the Earth grew by bombardment of planetesimals and its early atmosphere was established. A late major collision led to formation of the Moon and loss of the primordial atmosphere (age about 10 to the 8th years). The present atmosphere resulted from still later accretion. The presence of this atmosphere spreads out the mantle cooling and solidification over hundreds of millions of years.