Gerard Butler just RocknRolla'd his way right out of a lawsuit.
Butler's much-delayed case finally made it to a Los Angeles courtroom Tuesday, but the actor and alleged victim had already reached an undisclosed agreement.
Frank Mateljan, a spokesman for the L.A. City Attorney's Office, tells E! News, "The matter was resolved today with a dismissal as a result of a civil compromise—the defendant settled with the victim, and also completed 50 hours of community service, which we required. Everything has concluded."
—Reporting by Ashley Fultz
At least Gerard didn't end up in one of the juiciest scandals of 2009.