For the second year in a row and third time in four years, Jersey City has been named the most diverse city in the country.

WalletHub.com, a financial services website, annually compares more than 500 of the largest U.S. cities across three key indicators of cultural diversity -- ethnicity and race, language and birthplace.

Jersey City was first in linguistic diversity, second in ethnoracial diversity and 155th in birthplace diversity, according to the study. The city edged out Gaithersburg, Maryland -- which was No. 1 in 2016 -- for the top spot.

According to U.S. Census figures, 52.6 percent of Jersey City residents speak a language other than English in the home. The most common foreign languages in the city are Spanish, Tagalog and Hindi, the Census said.

Municipalities in Maryland took the second, third and fourth spots in the study while New York City was No. 6 on the list.

Of the New Jersey communities, Clifton was 25th, Newark 47th, Trenton 74th, Paterson 83th, Elizabeth 94th, Passaic 165th, Union City 339th and Toms River 401st.

Source: