Above: The collision of Andromeda and the Milky Way, as pictured by Nasa
The Milky Way is on a collision course with another galaxy, and the titanic impact will see the Sun flung from its current position into deep space, Nasa has reported.
Our galactic home will slam into Andromeda, our neighbouring galactic system, in about 4bn years time.
Nasa said it is likely that our Sun will be flung from its current home into a new location somewhere in one of the galaxies - but the Earth won't be destroyed.
M31 is moving toward the Milky Way at about 250,000mph.
The dramatic news was made after painstaking research on data from the Nasa Hubble Space Telescope.
Astronomers measured the motion of Andromeda, also known as M31, which is currently 2.5m light years away but is spiralling towards the Milky Way.
"[The galaxy] is inexorably falling toward the Milky Way under the mutual pull of gravity between the two galaxies and the invisible dark matter that surrounds them both," Nasa said.
Nvidia's GPU's and Kepler technology were recently used to simulate the collision:
Nasa's scientists welcomed the news, and said it ended 100 years of speculation.
"After nearly a century of speculation about the future destiny of Andromeda and our Milky Way, we at last have a clear picture of how events will unfold over the coming billions of years," said Roeland van der Marel of the Space Telescope Science Institute (STScI) in Baltimore.
According to Nasa it will be 2bn years after the galaxies hit before they completely merge and reform into a single, larger, galaxy.
While pictures of galaxies make them appear very tightly packed, in reality the space between stars is so vast they are extremely unlikely to collide with each other.
Instead, Nasa says, the stars will be thrown into different orbits around the new galactic center.
After the collision things get even more complicated, Nasa said - as yet another galaxy (the Triangulum galaxy, M33) will also join the party and slam into the merging pair.
A century ago astronomers did not know that Andromeda was a different galaxy to our own that M31 was a separate galaxy far beyond the stars of the Milky Way. Edwin Hubble measured its vast distance by uncovering a variable star that served as a "milepost marker".
"In the worst-case-scenario simulation, M31 slams into the Milky Way head-on and the stars are all scattered into different orbits," said Gurtina Besla of Columbia University in New York. "The stellar populations of both galaxies are jostled, and the Milky Way loses its flattened pancake shape with most of the stars on nearly circular orbits.
"The galaxies' cores merge, and the stars settle into randomised orbits to create an elliptical-shaped galaxy."
Suggested For You
SUBSCRIBE AND FOLLOW
Get top stories and blog posts emailed to me each day. Newsletters may offer personalized content or advertisements.Learn more