U.S. named seventh best country to be an immigrant
© Getty Images

The United States is the seventh best country in the world to be an immigrant, according to U.S. News and World Report.

Sweden claimed the top spot in the rankings, followed by Canada and Switzerland.

U.S. News cited President Trump’s travel ban and rising political tensions over immigrants as reasons for the lower ranking, even though the country is home to the largest immigrant population in the world.

The report surveyed more than 21,000 people on their perceptions of different countries and used four factors  — "economically stable," "good job market," "income equality" and "is a place I would live" — in creating the rankings.

Trump highlighted immigration policy in his campaign, calling for a wall on the southern border, demanding a crackdown on "sanctuary cities" and proposing a ban on Muslim immigration.

Immigration arrests rose by nearly 40 percent during the first four months of Trump's presidency compared to the same time period from the year before, Immigration and Customs Enforcement announced in May.