WASHINGTON, D.C. (AP) -- Minnesota has narrowly avoided losing a seat in Congress even though population growth in the state didn't keep up with that of some other states.

Minnesota's growth rate of 7.4% was slightly better than the nationwide rate of 7.1%, helping Minnesota keep all eight of the U.S. House seats it has had since the 1960s.

Minnesota barely avoided losing one of its eight seats in Congress and one of its 10 electoral votes thanks to a nation-leading effort to get people to respond to the 2020 census, Census data released Monday showed that Minnesota edged New York for the final seat allotted by just 89 people.

Minnesota may have been aided by a stronger-than-usual response to the Census Bureau's survey. Three-fourths of Minnesota residents voluntarily responded during the initial phase of the census, top among states and well ahead of the national average of a two-thirds response rate.

Get our free mobile app

The 25 Best Places to Live in Minnesota

Stacker compiled a list of the best places to live in Minnesota using data from Niche. Niche ranks places to live based on a variety of factors including cost of living, schools, health care, recreation, and weather. Cities, suburbs, and towns were included. Listings and images are from realtor.com.

On the list, there's a robust mix of offerings from great schools and nightlife to high walkability and public parks. Some areas have enjoyed rapid growth thanks to new businesses moving to the area, while others offer glimpses into area history with well-preserved architecture and museums. Keep reading to see if your hometown made the list.