After a brief stint in second place, Jersey City is once again the most diverse city in the country, according to the annual WalletHub diversity rankings.

Jersey City held the distinction as America’s most diverse city in 2017 and 2018 but dropped to second last year. Now, it’s back in the top spot among the 501 largest cities in the country, according to WalletHub.

Gaithersburg, Maryland and Germantown, Maryland ranked No. 2 and 3, respectively, followed by Spring Valley, Nevada and Silver Spring, Maryland. New York City is rated as the sixth most diverse city in the country, while Parkerburg, West Virginia was last on the list at No. 501.

The rankings take three factors into account: ethnoracial diversity, linguistic diversity and birthplace diversity.

Jersey City also ranked first in linguistic diversity and second in ethnoracial diversity.

“With immigration being an important topic nationally, these rankings only reaffirm the reason that Mayor Fulop has been vocal on this being that Jersey City is the most diverse city in the country,” said city spokeswoman Kim Wallace-Scalcione.

“The Mayor believes our diversity is a huge strength and has set policies to welcome new residents as the city grows. We all should be proud to live in a city that holds this distinction nationally.”