U.S. News and World Report says Lancaster County is the 41st best place to live in America.

The only place in Pennsylvania to rank higher was Harrisburg at number 34.

Pittsburgh, Philadelphia, Allentown and Scranton also made the list at numbers 58, 77, 79 and 86, respectively.

To see the complete top 100 list, click here.

Overall, Lancaster scored 6.6 out of 10.

Harrisburg earned a 6.7.

Related photos: Lancaster County favorites from LNP staff photographers Richard Hertzler and Dan Marschka

The ranking system takes a look at five factors to compile the overall score: desirability, value, job market, quality of life and net migration.

You can read the methodology behind the rankings system here.

Sign up for our newsletter Success! An email has been sent with a link to confirm list signup. Error! There was an error processing your request.

Each city has a page detailing specifics ranging from quick stats, cost of living, average temperatures and things to do.

A short bio gives an overall snapshot of each location.

"Lancaster, Pennsylvania, offers a balance between natural and commercial spaces that residents appreciate," the report states. "Each area boasts its own unique groups of inhabitants: farmers, families, college students and young professionals. From close-knit church communities to the indie coffee shop scene, Lancaster holds something for everyone."

So how did Harrisburg beat out Lancaster?

On the scorecard, Pennsylvania's capital scored higher in value, job market and net migration.

The rankings were impressed by Harrisburg's proximity to outdoor activities including Riverfront Park and the Appalachian Trail.

On the outdoor front here in Lancaster, the report was sure to mention our lovely country air.

"Lancaster County's rolling farmland may be a draw for residents, but all those farm animals do bring a specific odor to the area's air," the report says.

"Meanwhile, the local Kellogg's Plant, Mars Chocolate North America and the world's largest chicken barbecue add their own aromas to the mix. Though new residents will surely take notice at first, this unique smell eventually becomes the smell of home."