Lionsgate walks away with a win after a leak of their next movie, The Expendables 3, led to over two million downloads over the past week.

'Expendables 3' Spoilers: What Role Does Mel Gibson Have In The Action Installment?

According to Deadline on Tuesday, a federal judged ordered the websites that Lionsgate says are making leaked versions of The Expendables 3 available to stop immediately and could see their bank accounts seized if they don't comply.

"Lionsgate has established that it will suffer irreparable harm in the absence of immediate relief," said U.S. District Judge Margaret Meadow in granting the studio's application for a temporary restraining order against a half-dozen torrent sites that are allegedly making copies of the upcoming Sylvester Stallone-led action flick available for downloading.

'Expendables 3' Stars Talk Characters & What Drives To Join Up With The Team

Lionsgate filed the lawsuit on July 31 after a stolen copy of Expendables 3 started showing up online during Comic-Con the previous week. Naming "John Does 1-10," the copyright infringement complaint cited limetorrents.com, billionuploads.com, hulkfile.eu, played.to, swankshare.com and dotsemper.com as the culprits.

The filing said that before taking the matter to the courts, the studio contacted the sites in question to get them to stop "disseminating copies of the Stolen Film" but received no response.

As of now, the studio does not believe it will have any ramifications of the box office, and many fans have said they will go see the film in theaters because it is the way the people behind it intended for the final product.

The Expendables 3 is directed by Patrick Hughes and opens in theaters on August 15.