Shortly after then-candidate Donald Trump announced his presidential campaign, he suggested that the number of undocumented immigrants living in the United States could exceed 30 million. But a new study puts the number far lower and shows a significant decline over more than a decade.

The study, published by the Pew Research Center on Tuesday, put the number of undocumented immigrants in the United States at 10.7 million in 2016, down from a peak of 12.2 million in 2007.

As Pew analyzed new data from recent years, its researchers found that “it wasn’t just that the numbers declined, but also who these unauthorized immigrants are had changed since 2007,” said D’Vera Cohn, a senior writer at Pew Research.

The estimates are derived from figures published by sources like the Census Bureau, which accounts for foreign-born people living in the United States, along with other demographic data including death rates and legal border admissions.