When the stop-and-frisk law was passed last month Mayor Bloomberg vowed to sue and he kept his promise.

Bloomberg filed a lawsuit against City Council to overturn a law passed last month that would make it easier for people targeted by the NYPD’s stop-and-frisk program to sue.

On Tuesday in Manhattan Supreme Court, the mayor’s lawyers claims the law is illegal and exceeds bounds of permissible legislation by the Council.

The law allows stop-and-frisk plaintiffs to sue in a state court, allowing them to mandate that the NYPD changes tactics but could not ask for money.

The law also emphasizes the meaning of profiling beyond race that includes age, gender, sexual orientation and housing status.

Bloomberg’s lawsuit says that only state legislature can change the criminal procedure law and the state already puts obligations and limits on cops.

The second law of a monitor overseeing the progress of stop-and-frisk is not targeted in the lawsuit.