Forty Pennsylvania counties had more deaths than births from 2010 to 2012, but in some of those regions new people moving in resulted in net growth, according to new federal census data released Thursday.
The data looked at births, deaths and people moving to and from areas of the state, which has 67 counties.
Philadelphia County had the greatest natural population increase, with 19,940 more births than deaths, followed by Lancaster County, at 5,656, and Chester County, at 4,590.
Westmoreland County in western Pennsylvania had the greatest natural decrease, with 2,503 more deaths than births, followed by Luzerne County and Allegheny County.
But those who see more people in Pittsburgh aren't imagining them. Allegheny County gained 5,990 people overall during the same time period because of people who moved there.
Some counties stayed virtually the same. Union County in central Pennsylvania had 35 fewer births and a net population gain of three people.
In other counties people had more babies, yet population declined because more people moved away. Pike County in northeastern Pennsylvania had 71 more births but lost 467 people in terms of total population.
The data also showed how many of the new immigrants were international as opposed to being from other states.
Philadelphia County gained the most international residents, with 16,276, followed by Allegheny County, with 5,006, and Delaware County, with 3,508.
Across the state, 54,466 of the new residents were from international migration; meanwhile, 27,647 residents left Pennsylvania from 2010 to 2012.
Statewide there were 37,311 more births than deaths from 2010 to 2012. The total population increased by about 61,000 to 12,763,536.