A federal judge ruled on Monday that a NYPD policy known as 'stop-and-frisk' violates the civil rights of New Yorkers, while the police department says it's the same policy that's been keeping residents safe.

U.S. District Court Judge Shira Scheindlin ordered an independent monitor to oversee changes to the policy, which allows officers to detain, search, and question New Yorkers who hadn't committed any crimes. The ruling followed a 10-week-long class action lawsuit filed by opponents to 'stop-and-frisk,' with Scheindlin saying she was not putting an end to the policy, but rather was reforming it.

She did not give specifics yet on how that would work but instead named an independent monitor who would develop an initial set of reforms to the policies, training, supervision, monitoring and discipline.

"The city's highest officials have turned a blind eye to the evidence that officers are conducting stops in a racially discriminatory manner," she wrote. "In their zeal to defend a policy that they believe to be effective, they have willfully ignored overwhelming proof that the policy of targeting "the right people" is racially discriminatory."