LOS ANGELES (CBSLA) — The nation’s second-largest school district today voted to end random student searches at secondary schools.

The board of the Los Angeles Unified School District voted Tuesday to end its use of wand metal detectors in daily random searches by July 1, 2020. The board also asked Superintendent Austin Beutner to come up with an alternative safety policy.

READ MORE: Black Friday: Another High-End Store Is Robbed, In String Of Six LA Smash-and-Grabs

Random searches were instituted following deadly school shootings across the country, but critics said the wand searches were ineffective, intrusive and tended to target minority students. A coalition called Students Not Suspects released a report last year that said weapons were only found in a fraction of the searches, and none of them were guns.

RELATED: Safety Report: Metal Detectors Ineffective At LAUSD Schools

READ MORE: Possible Lakewood Home Depot Robbery Suspects Arrested in Beverly Hills

“The vote was a victory for the Students Not Suspects coalition that had long fought the policy that unfairly targeted and criminalized students,” said the American Civil Liberties Union of Southern California in a statement. “The random searches, which required staff to pull students out of classes to have their bodies and belongings examined with hand-held scanners, proved to be ineffective, as well as intrusive and excessive.”

Members of the coalition say they will continue to advocate for meaningful investment from the district in programs such as restorative justice, positive behavior interventions and peer meditations.

Schools can still search students if they suspect rule violations.

MORE NEWS: Fox, Hield Lead Kings Over Lakers 141-137 In Triple OT

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. City News Service contributed to this report.)