Hartford has become the state’s second-largest city, after the U.S. Census Bureau fixed a mistake and added more than 2,500 residents to the city’s population total.

The Census Bureau had counted 2,543 University of Hartford students as West Hartford residents.

The school straddles the West Hartford-Hartford line. While students have West Hartford mailing addresses, all but two of the dorms are on the Hartford side of the border.

Bridgeport is the state’s largest city with 139,529 people. Hartford moves into second with 124,121 people, and New Haven drops to third with 123,626 residents.

The addition of people will mean more federal aid. Secretary of the State Susan Bysiewicz said last year that each person not counted in the 1990 census costs $40,000 in missed funds for education, transportation and housing.

The new total also removes Hartford’s designation as the fastest-shrinking city by percentage in the 1990s.

The new count shows the city lost 11 percent of its population, but Flint, Mich., Gary, Ind., St. Louis and Baltimore had greater percentage declines.

–Associated Press