Rob Lowe and his ex-nanny both declared victory Thursday after a California judge threw out four of the actor's claims against Jessica Gibson but also one of Gibson's allegations, People magazine reported.

For Gibson, the judge ruled that Lowe could not pursue his defamation claims against her because the 24-year-old former nanny is protected under laws allowing people to protest alleged workplace conditions. Three other claims also were tossed.

"This is a huge victory for us today," Gibson's lawyer, Gloria Allred said, according to People magazine. "We look forward to continuing with our sexual harassment suit against the Lowes."

But for Lowe's side, the judge threw out Gibson's claim that the actor retaliated against her. Previously, the judge dismissed two of Gibson's other claims against Lowe.

"We didn't lose anything today," Lowe attorney Larry Stein told People. "I'm delighted with the dismissal we won, and in essence, our lawsuit against Gibson remains totally intact."

Click here to read more in People