A New York City law has new guidance that states the use of the term "illegal alien" to "demean, humiliate or harass a person" is illegal, according to the New York City Commission on Human Rights.

The guidance "defines discrimination on the basis of perceived or actual immigration status and national origin under the New York City Human Rights Law in public accommodations, employment and housing." It also includes the term "illegals."

The guidance, announced Sept. 25, also states "harassing or discriminating against someone for their use of another language or their limited English proficiency, and threatening to call ICE on a person based on a discriminatory motive, are considered to be in violation" of the New York City Human Rights Law.

Those found in violation of the law can be fined up to $250,000.

A day in LA immigration court:These powerful portraits tell the story

“We take immense pride in our city’s diversity and the immigrant communities that call New York City home,” Deputy Mayor Phil Thompson said in a statement. “This new legal enforcement guidance will help ensure that no New Yorker is discriminated against based on their immigration status or national origin."

Examples of violations, according to a news release:

Harassing a restaurant patron because of their accent.

Refusing repairs on a unit occupied by an immigrant family and threatening to call ICE if they complain.

Paying a lower wage or withholding wages to workers because of their immigration status.

Harassing a store customer by telling them to stop speaking their language and demanding they speak English.

The New York City Commission on Human Rights is charged with the enforcement of the New York City Human Rights Law.

New book:President Trump talked about shooting migrants, using alligators at the border

"Today’s guidance makes abundantly clear that there is no room for discrimination in NYC," Carmelyn Malalis, the commission's chair and commissioner, said in a statement.