A fossil bird from a Haitian cave seemed to be a woodcock—until its ancient DNA showed it was a snipe. That small correction has helped researchers build a wider picture of how woodcocks and snipes spread across the world over millions of years.

The fossils were dug up by Florida Museum researchers in 1984 on Hispaniola, the Caribbean island shared by Haiti and the Dominican Republic. In 2015, scientists identified the bird as a woodcock from its bones. A new study, published in the Proceedings of the National Academy of Sciences, tested DNA recovered from the fossil specimens and found they belonged to a snipe instead. The two groups are close relatives and can look almost identical, so the mistake was understandable.

The discovery grew into a study of migration and evolution. Researchers combined ancient DNA from fossils with modern DNA from museum specimens to create a dated family tree of woodcocks and snipes. Their samples covered all but one of the 29 living species in the two groups, as well as two extinct species. One was the Hispaniolan bird; the other was the South Island snipe, which vanished in 1964 after black rats were brought to South and Stewart islands in New Zealand by people.

The family tree traces the birds’ history across roughly 30 million years. Woodcocks and snipes split from a shared ancestor about 25 million years ago. Their relatives now live across the Caribbean, Japan, Indonesia, the western Pacific and the greater New Zealand region. The researchers also used the ages of shorebird fossils to put dates on the branches of their tree, helping show when different lineages appeared.

These birds belong to the sandpiper family, whose members are among the world’s strongest long-distance fliers. Some shorebirds nest in the Arctic and spend winter in South America. A bristle-thighed curlew tracked by radio recently flew 10,000 kilometers, or 6,200 miles, to New Zealand without stopping. Woodcocks and snipes share this ability to travel far, but they stand out for another reason: some of their ancestors settled on islands instead of continuing to migrate.

Six of the eight living woodcock species are found only on islands. Study coauthor David Steadman, an emeritus curator of ornithology at the Florida Museum, said that woodcocks and snipes are unusual among migratory shorebirds for forming permanent island populations. Their history shows that long-distance travel can do more than connect distant places. It can also bring a species to a new home, where it may settle and change over time.

Min Zhao, who began the project while a postdoctoral associate at the Florida Museum and is now at Uppsala University, said the story started with the extinct Hispaniolan bird. By correcting its identity, the team gained a clearer starting point for understanding the group’s past. Museum collections, including fossils and specimens gathered across many years, are now helping researchers piece together how these remarkable travelers moved—and where they chose to stay.