NEW YORK (CBSNewYork/AP) — Civil rights advocates on Tuesday accused New York City authorities of continuing to support discriminatory surveillance of Muslim communities by police.

The advocates’ complaints on Tuesday were based a brief filed by the city opposing a pending of appeal of federal judge’s decision saying the practice is a lawful way to detect terror threats.

READ MORE: 12-Year-Old Child Shot In Chest In Brooklyn

The decision in February came in response to a lawsuit accusing the NYPD of illegally spying on ordinary people at mosques, restaurants and schools in New Jersey based on religion and race after the Sept. 11, 2001 attacks.

One advocate said the city’s support of the ruling show the new administration of Mayor Bill de Blasio does not care about protecting Americans’ basic right to pray.”

A statement from the city Law Department said the brief was being misinterpreted.

In April, the NYPD announced that it had disbanded the Demographics Unit — the surveillance program that was responsible for tracking the daily lives of Muslims.

READ MORE: Police: Mike Kushnir Arrested In Connection To Stabbing Death Of 17-Year-Old Gerado Rivas In Washington Heights

Following a review, Police Commissioner Bill Bratton found that the same information collected by the unit could be better collected through direct contact with community groups, officials said.

The Demographics Unit was created 18 months after the 9/11 attacks. The program, conceived with the help of a CIA agent working with the NYPD, assembled databases on where Muslims lived, shopped, worked and prayed.

Plainclothes officers infiltrated Muslim student groups, put informants in mosques, monitored sermons and cataloged Muslims in New York who adopted new, Americanized surnames.

Check Out These Other Stories From CBSNewYork.com:
[display-posts category=”news” wrapper=”ul” posts_per_page=”4″]

MORE NEWS: New Jersey Family Finds Father's Missing Cell Phone Nearly 6 Years After Crash That Took His Life

(TM and © Copyright 2014 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2014 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)