A New Jersey Senate committee has advanced a bill that would require out-of-state law enforcement agencies to notify state officials if they want to conduct counterterrorism surveillance operations here.

Statehouse (NJSenateRepublicans.com)

The bill will now go to the full Senate. It's already been passed by the Assembly.

The impetus for the bill came from a series of articles by The Associated Press that revealed the NYPD operated secretly in New Jersey neighborhoods where Muslims lived and worked. They spied on Muslim organizations, infiltrated Muslim student groups and videotaped mosque-goers.

The NYPD has said its operations were lawful and necessary to keep the city safe. New York City Mayor Michael Bloomberg has said the NYPD can gather intelligence anywhere in the country it wants and is not required to tell local authorities.

(Copyright 2013 The Associated Press. All Rights Reserved)