The University of California, Davis must release the names of the campus police involved in the Nov. 18 pepper-spraying of seated, unarmed student protesters, a judge ruled Tuesday.

The ruling was issued by Alameda Superior Court Judge Evelio Grillo in response to a lawsuit by the The Sacramento Bee and the Los Angeles Times, and was a reversal on an earlier decision to allow police to redact names from the report. The Times reports the two newspapers sued the UC Board of Regents under the California Public Records Act to compel release of the names.

The campus police officers' union, the Federated University Police Officers Association, argued releasing their names would make them subject to harassment. They were successful in keeping the names secret in report issued earlier this year by a task force headed by former California Supreme Court Justice Cruz Reynoso. That report, as well as several others, were highly critical of the UC Police Department for their handling of student protests and excessive use of force.

Only two names of police officers were included in the Reynoso report, the rest were redacted.

"The court today provided valuable transparency that was missing from the earlier litigation," Thomas Burke, an attorney who represented the newspapers, said Tuesday. "The Reynoso report will now be publicly released without any police censorship."

UC spokesperson Brooke Converse said they were always in favor of releasing the full report, and plan to abide by the court's ruling.

Michael Morguess, the Union's attorney, argued releasing the names were tantamount to releasing a personnel file. But Judge Grillo wrote the officers who were working at the campus demonstration wore name tags and were widely visible to the public.

The campus police union has until July 27 to file for an appeal.

Related on HuffPost:

A Brief History Of UCPD Aggressiveness:
Loading Slideshow...
  • 2005 - UCLA campus police tase student in a library -- protests and demonstrations follow

    Students and others march across campus to protest outside the University of California, Los Angeles police department after a rally on the Westwood campus Friday, Nov. 17, 2006 to protest police use of a taser on UCLA student Mostafa Tabatabainejad in a campus library Tuesday, Nov. 14.

  • 2007 - UC Berkeley students occupy trees

    Authorities negotiate with two tree-sitters at a tree on the campus of the University of California in Berkeley, Calif., Tuesday, Sept. 9, 2008. UC Berkeley officials are preparing to remove the last remaining tree-sitters protesting a planned sports center next to Memorial Stadium, where the football team plays. The university has refused to meet the protesters' demand that it donate $6 million to environmental and Native American groups as part of an agreement for the tree-sitters to come down voluntarily.

  • 2009 - UCLA cops taser student protesters, protesting tuition hikes.

    A student protester is tazered by a police officer during a protest against an increase in student fees at the UCLA campus in Los Angeles on Nov. 19, 2009. The University of California Board of Regents approved a 32 percent tuition increase during a meeting which at the campus today.

  • 2009 - November incident at Wheeler hall, students clash with police outside of Wheeler while students barricaded themselves in the building.

    Demonstrators protest in front of a closed off University of California, Berkeley building on the Berkeley, Calif., campus, Friday,. Nov. 20, 2009, during a demonstration against university fee hikes and layoffs.

  • 2009-2010 - student protesters start using "Occupy Everything" tag

    Students occupy the hallway outside the office of the university chancellor at University of California Los Angeles (UCLA) to protest education funding cuts and rising tuition on March 4, 2010 in Los Angeles, California. Thousands of students and educators from elementary, middle and high schools, and colleges and universities are holding marches, rallies and class walkouts across California today as part of a nationwide effort calling for no more cuts to education. University of California system student fees have increased 61 percent over the past five years and costs have gone up for students of California community colleges which, until the property tax rollback of 1978, provided tuition-free to all high school graduates.

  • March 2010 - at least one student tased when students "occupy" a portion of interstate 80/880

    Oakland police officers take down a splinter group of protestors who attempted to block Interstate 880 following a rally for the national day of action against school funding cuts and tuition increases March 4, 2010 in Oakland, Calif. Dozens of protestors were arrested after they stormed the 880 freeway as students across the country were walking out of classes and holding demonstrations against massive tuition increases and funding cuts to college universities.

  • 2011 - students beat with batons at UC Berkeley

  • 2011 - UC Davis students pepper sprayed

    In this image made from video, a police officer uses pepper spray as he walks down a line of Occupy demonstrators sitting on the ground at the University of California, Davis on Friday, Nov. 18, 2011. The video - posted on YouTube - was shot Friday as police moved in on more than a dozen tents erected on campus and arrested 10 people, nine of them students.