Relativity has nabbed the bawdy comedy “The Bronze” for $3 million, sources confirm to Variety.

The film features a foul-mouthed former Olympic gymnast, played by “Big Bang Theory” star Melissa Rauch, that’s very much in the tradition of “Big Santa.” There had been some back and forth about the number of screens the picture will roll out on when it debuts in theaters, but those issues were resolved on Saturday afternoon.

Variety first reported that Relativity had made an initial offer on the film. The sum was originally at about $2 million but climbed as talks progressed.

The movie co-stars Sebastian Stan of “Captain America: The Winter Soldier” fame and Gary Cole. It was the opening-night film at the Sundance Film Festival.

Though bidding has been heated, some major distributors seemed skeptical about the film’s commercial prospects considering its risqué nature. In fact, studios such as Lionsgate, Fox Searchlight and CBS Films never threw their hats in the ring.

WME Global handled sales for the film.