Britney Spears Case Dismissed

Credit: Toby Canham/Getty Images.

Britney Spears' long legal nightmare may be over.

Today, a judge dismissed Sam Lutfi's entire lawsuit against the pop star and her parents, Lynne and Jamie Spears, ruling that Lutfi's allegations of libel, breach of contract and battery didn't hold up.

"I really thought long and hard," Los Angeles Superior Court Judge Suzanne Brugera said in announcing her decision.

She ultimately decided that an attorney for Lutfi hadn't proven any of his allegations in the case that centered on events about Spears' 2007-2008 breakdown.

RELATED: Britney Spears' Photog Ex Recounts Their Romance

As for dismissing the case, she said, "That's the right thing to do, and that's what we are doing."

After judge made the ruling, Lutfi quickly exited the courtroom and would only say that he's filing an appeal. His attorney declined to comment.

During Lutfi's trial against the Spears family, multiple details about the pop star's breakdown were spilled, including those of her relationship with paparazzo Adnan Ghalib and her estrangement with her mother, Lynne Spears.

ABC News affiliate KABC contributed to this report.