A judge in Los Angeles dismissed a $5 million lawsuit against Tom Cruise after he was accused of hiring an investigator to spy on former Bold magazine editor Michael Davis Sapir.

Sapir filed the lawsuit back in 2009, accusing the actor and his lawyer of hiring Anthony Pellicano to spy on Sapir by wiretapping his phones.

When the lawsuit was filed four years ago, Cruise's attorney Ben Fields told TMZ, "The allegations are absolute garbage. We did not even hire Pellicano to work on the Sapir case."

Cruise had filed a $100 million defamation suit against Sapir in 2001, after the magazine editor offered a $500,000 reward for proof that Cruise was gay, reported ABC News. Sapir claimed that the magazine had obtained video evidence showing Cruise had engaged in a homosexual relationship.

That case was settled in November of that year- while MSN claimed Sapir said the video featured someone else in the video, The Huffington Post stated that both parties acknowledged the tape did not exist.

Cruise may have won this case, but in the meantime a 2014 trial awaits Cruise, with a $50 million defamation lawsuit he had filed against Bauer Media. The outlet claimed Cruise had abandoned his six-year-old daughter Suri, according to the report.