Pennsylvania and Florida, two swing states President Donald Trump narrowly won in 2016, may look substantially different next year, as new census data shows them trending away from his base.

Both states have grown in population, and many of their congressional districts have become more racially and ethnically diverse. However, that growth hasn’t been uniform and that may have implications for local politics in 2020 and beyond.

[Supreme Court deals blow to census citizenship question]

Both states tinkered with their congressional maps following court challenges — Florida in 2015 and Pennsylvania in 2018 — and the Census Bureau recently released data showing demographic changes within those new districts over the decade.

Pennsylvania and Florida, which President Barack Obama won in 2012, went to Trump in 2016 by the slightest of margins. It was enough to get Trump over the finish line for victory, but the long-term trends in the two states show that demographic groups least friendly to the president, including African Americans, Asian Americans, and Hispanic or Latino voters, may make up a larger portion of the electorate next year.