The scientists charted the outskirts of Andromeda in detail for the first time.
They discovered stars that could not have formed within the galaxy itself.
Pauline Barmby, an astronomer from the University of Western Ontario, Canada, who was involved in the study, told BBC News the pattern of the stars' orbits revealed their origin.
"Andromeda is so close that we can map out all the stars," she said.
"And when you see a sort of lump of stars that far out, and with the same orbit, you know they can't have been there forever."
Andromeda, which is approximately 2.5 million light-years from Earth, is still expanding, say the scientists.
The researchers also saw a "stream of stars" of a nearby galaxy called Triangulum "stretching" towards Andromeda.
Dr Scott Chapman, reader in astrophysics at the Institute of Astronomy, University of Cambridge, UK, was also involved in the research.
He said: "Ultimately, these two galaxies may end up merging completely.
"Ironically, galaxy formation and galaxy destruction seem to go hand in hand."
Nickolay Gnedin, an astrophysicist from the University of Chicago, US, who was not involved in this study, described the work as showing "galactic archaeology in action".
This page is best viewed in an up-to-date web browser with style sheets (CSS) enabled. While you will be able to view the content of this page in your current browser, you will not be able to get the full visual experience. Please consider upgrading your browser software or enabling style sheets (CSS) if you are able to do so.
Bookmark with:
What are these?