LA QUINTA, Calif. -

A judge struck down tenure and other job protections for California's public school teachers Tuesday, saying such laws harm students — especially poor and minority ones — by saddling them with bad teachers who are almost impossible to fire.

In a landmark decision that could influence the gathering debate over tenure across the country, Los Angeles County Superior Court Judge Rolf Treu cited the historic case of Brown v. Board of Education in ruling that students have a fundamental right to equal education.

Siding with the nine students who brought the lawsuit, he ruled that California's laws on hiring and firing in schools have resulted in "a significant number of grossly ineffective teachers currently active in California classrooms."

He agreed, too, that a disproportionate number of these teachers are in schools that have mostly minority and low-income students.

The judge stayed the ruling pending appeals. The case involves 6 million students from kindergarten through 12th grade.

The California Attorney General's office said it is considering its legal options, while the California Teachers Association, the state's biggest teachers union with 325,000 members, vowed an appeal.

"Circumventing the legislative process to strip teachers of their professional rights hurts our students and our schools," the union said.

Local union, the Desert Sands Teachers' Association, also took issue with the ruling. "It does not exist," said president Mona Davidson.  "We do not have tenure, we have permanent status."

Davidson says teachers receive permanent status, not tenure, after two years of probation.  After that, a principal can still follow due process to fire ineffective teachers, a system Davidson says prevents unnecessary dismissals.  "It protects against a student deciding, 'oh this teacher's awful' and run to the principal and the principal says 'oh you know you're right,' you're gone," said Davidson. 

Los Angeles School Superintendent John Deasy testified it can take over two years on average — and sometimes as long as 10 — to fire an incompetent tenured teacher. The cost, he said, can run from $250,000 to $450,000.

In his ruling, the judge, a Republican appointee to the bench, said the procedure under the law for firing teachers is "so complex, time-consuming and expensive as to make an effective, efficient yet fair dismissal of a grossly ineffective teacher illusory."

The judge also took issue with laws that say the last-hired teacher must be the first fired when layoffs occur — even if the new teacher is gifted and the veteran is inept.

Desert Sands Unified school district assistant superintendent of personnel, Sherry Johnstone says the district works well with unions and trusts its teachers. Still, she agrees the process can take a toll.  "Is the process lengthy and is it expensive? Yes it is, unless it's something egregious, then it's instant," said Johnstone.  

Teachers have long argued that tenure prevents administrators from firing teachers on a whim. They contend also that the system preserves academic freedom and helps attract talented teachers to a profession that doesn't pay well.

Other states have been paying close attention to how the case plays out in the nation's most populous state.

"It's powerful," said Theodore Boutrous Jr., the students' attorney. "It's a landmark decision that can change the face of education in California and nationally."

He added: "This is going to be a huge template for what's wrong with education."

The lawsuit was backed by wealthy Silicon Valley entrepreneur David Welch's nonprofit group Students Matter, which assembled a high-profile legal team including Boutrous, who successfully fought to overturn California's gay-marriage ban.

In an interview following the decision, Welch tried to open a door to working with teachers' unions, but the enmity of the two sides intensified.

"Inherently it is not a battle with the teachers union. It's a battle with the education system," Welch said. "Unfortunately, the teachers union has decided that the rights of children are not their priority."

He said he hoped union leaders can eventually work with his group to put in place a system that ensures children get a better education.

But the unions were having none of it.

Dennis Van Roekel, president of the National Education Association, the nation's biggest teachers union, bitterly criticized the lawsuit as "yet another attempt by millionaires and corporate special interests to undermine the teaching profession" and privatize public education.

They vowed to appeal the ruling for as long as necessary to overturn it.

The judge declined to tell the Legislature exactly how to change the system, but expressed confidence it will do so in a way that passes constitutional muster and provides "each child in this state with a basically equal opportunity to achieve a quality education."