Years ago:
4600 million years ago
Formation of the Earth
The Earth formed roughly 4.6 billion years ago as a result of several collisions of orbiting matter near a newly formed sun. In its early days, the Earth was a molten mass due to the heat generated from its collisions with other orbital bodies in the then-forming solar system.