LOS ANGELES (AP) —  A California appeals court has handed teacher unions a big victory by reversing a judge’s ruling that found tenure deprived students of a good education.

The 2nd District Court of Appeal ruled Thursday that the plaintiffs failed to show that job protection for teachers was unconstitutional.

READ MORE: 1 Dead, 2 Trapped And At Least 6 Injured In Pacoima Traffic Collision Involving A Structure

The three-judge panel says the nine students who sued did not show that state statutes caused some students to receive a worse education than others.

READ MORE: Pursuit Suspect Attacks CHP Officers In Simi Valley

The court says the law may lead to hiring and retaining more ineffective teachers but says it’s ultimately up to administrators to assign teachers.

A Los Angeles Superior Court judge had found tenure and four others provisions of the state education code unconstitutional because particularly poor and minority students were deprived of a good education.

MORE NEWS: Funeral Service Held In Covina Hills For Lance Cpl. Dylan Merola, Among The 13 Killed In Aug. 26 Bombing Attack In Kabul

(© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)