New York City has banned the term “illegal alien” when it is used "with intent to demean, humiliate or harass a person” and instituted fines up to $250,000 for the offense.

The city’s Commission on Human Rights released new guidelines last week to define discrimination on the basis of perceived or actual immigration status or national origin in public accommodations, employment or housing. 

The guidance bans discrimination or harassment against someone for their limited English proficiency or use of another language.

In addition, threatening to call Immigration and Customs Enforcement (ICE) on someone as a discriminatory measure is now considered a violation of the law.

Hypothetical examples of this kind of discrimination were provided in the commission’s 29-page directive. They included a hotel prohibiting housekeepers from speaking another language because it would “offend” guests or a store owner telling customers speaking Thai to “speak English” or “go back to your country."

"We are proud to have worked with the NYC Commission on Human Rights to produce and release this important guidance as we combat the federal government's rhetoric of fear and xenophobic policies that have threatened the health and well-being of immigrant communities," Bitta Mostofi, commissioner of the Mayor's Office of Immigrant Affairs, said in a statement to CNN published Tuesday.

The Department of Homeland Security defines "alien" as "any person not a citizen or national of the United States."

President TrumpDonald John TrumpKamala Harris calls for Twitter to suspend Trump account over whistleblower attacks Clinton jokes she 'never' had to tell Obama not to 'extort foreign countries' John Dean: 'There is enough evidence' to impeach Trump MORE came under fire in July when he told four nonwhite progressive congresswomen to “go back and help fix the totally broken and crime infested places from which they came.” 

The group of freshmen Democrats — Reps.  Ilhan OmarIlhan OmarTrump to hold campaign rally in Omar's Minnesota district in bid to flip state Democrats zero in on Ukraine call as impeachment support grows Democrats call for House leadership to cancel recess and focus on impeachment MORE (D-Minn.), Rashida TlaibRashida Harbi TlaibHouse Ethics Committee reviewing two GOP lawmakers over campaign finance House Ethics panel reviewing Tlaib over campaign salary CNN faces backlash for video highlighting white congresswomen as impeachment leaders MORE (D-Mich.), Alexandria Ocasio-CortezAlexandria Ocasio-CortezOcasio-Cortez blasts McCarthy as a 'bumbling, sloppy, dishonest mess' over Trump defense House Ethics panel reviewing Tlaib over campaign salary Ocasio-Cortez: Trump amplifying calls for civil war 'pathetic' and 'reckless' MORE (N.Y.) and Ayanna PressleyAyanna PressleyCNN faces backlash for video highlighting white congresswomen as impeachment leaders Democrats zero in on Ukraine call as impeachment support grows Mystery vaping deaths in House spotlight MORE (D-Mass.) — are all U.S. citizens and only Omar was born in another country.

Many on social media began pointing to federal guidance from the U.S. Equal Employment Opportunity Commission that identifies the phrase "Go back to where you came from" as language that could violate anti-discrimination laws in the wake of Trump’s attacks. 

The federal agency, which enforces the government's employment discrimination laws, states that “ethnic slurs and other verbal or physical conduct because of nationality are illegal if they are severe or pervasive and create an intimidating, hostile or offensive working environment, interfere with work performance, or negatively affect job opportunities.” 

"Examples of potentially unlawful conduct include insults, taunting, or ethnic epithets, such as making fun of a person's foreign accent or comments like, 'Go back to where you came from,' whether made by supervisors or by co-workers,” it adds.