This article is from the archive of our partner .

Rebecca Reyes is the (former) LAPD officer who took photos of Rihanna the night she was beaten by Chris Brown. Reyes sent them to friends and co-workers, and then, somehow, those photos then made it to TMZ. Reyes was fired. Today, that firing was upheld in a Los Angeles court.

"At a minimum, the public is entitled to protection from unprofessional employees whose conduct places people at risk of injury and the government at risk of incurring liability," the judge wrote in his ruling, per the AP.

The decision to fire Reyes was made by a disciplinary panel and police chief Charlie Beck in 2012 after a three year investigation into the leak. Enough evidence was found to fire Reyes, but not bring criminal charges against her. Reyes maintained that she did not sell the photo to TMZ, though admitted that it was one of the photos she took that made it to the site.

Meanwhile, the eight LAPD officers who shot 103 bullets into a pick-up truck they believed was being driven by a suspected cop killer were disciplined with additional training. They could have been suspended or even fired, but police chief Charlie Beck -- the same man who decided Reyes should be fired -- decided that their actions did not warrant such harsh punishment.