The Game's attempt to sue Viacom for $20 million has fallen flat after a judge sided with the media conglomerate on Tuesday (May 5).

The rapper's lawsuit against Viacom came after he was ordered to pay former She's Got Game contestant Priscilla Rainey $7.1 million following sexual assault allegations. The Game's suit argued that Rainey shouldn't have been allowed on the show because a doctor warned about her volatile past, which included "a long and violent criminal history."

But ultimately, federal court judge Dolly M. Gee sided with Viacom, claiming the company was exercising its right to free speech when it cast Rainey for the series, The Blast reports. “Viacom is correct. Courts have held that the ‘creation of a television show,’ including the ‘writing, casting, and broadcasting’ of a television show, is an exercise of free speech,” the ruling reads.

Viacom originally fired back at The Game in May, claiming the rapper was trying to "shift the burden of his damages to Viacom through "misdirected legal action that is totally without merit."

Rainey's claims of sexual assault arose in 2015, when she says an incident occurred during an off-camera interaction. According to the reality show contestant, an inebriated Game was "out of control" and forcefully reached his hand inside her dress, attempting to "rub her bare vagina and buttocks.” The rapper denied the claims.

Check Out the 2018 Hip-Hop Music Festivals You Need to See

More From 107 JAMZ