With President Trump's revised travel ban set to take effect Thursday, the City of Philadelphia on Wednesday joined two dozen other cities in filing a brief that challenges the constitutionality of Trump's executive action, which temporarily bars admission to the United States by of visitors from six majority-Muslim countries.

The so-called "friend-of-the-court" brief was filed in federal district court in Seattle, where six states have challenged the ban. That court is considering an emergency motion about whether to apply its standing injunction against the first travel ban to the amended ban as well.

"By joining this brief, we want to inform the Court that we believe that the travel ban is not only illegal, but it also hurts Philadelphia and offends the values that make this City a welcoming place for refugees fleeing persecution and for immigrants seeking to start a new life," City Solicitor Sozi Pedro Tulante said in a statement.

Among the cities on the brief are: Chicago, Los Angeles, New York, Boston, San Francisco, and smaller municipalities.

The executive order, revised after courts blocked the first one in January, takes effect Thursday and lasts for 90 days. It bars admission of people from Iran, Libya, Somalia, Sudan, Syria and Yemen — countries where internal strife makes reliable vetting impossible, according to the Trump administration.

The order also bars all refugees for 120 days.