
The Milky Way and Andromeda galaxies will one day collide despite the fact that space-time itself is expanding. That’s because local gravity overpowers the expansion and pull these galaxies toward one another.
Astronomy: Roen Kelly
Whether or not galaxies merge depends on how strong the gravitational attraction is between the galaxies and whether the universe’s expansion is more powerful than gravity.