Ricky Gervais didn’t hold back during Sunday's 73rd annual Golden Globe Awards, beginning the show with a vulgar monologue before following up with an impromptu profanity-filled chat with Mel Gibson.

All this went down as the big awards of the night, Best Motion Picture Comedy and Best Motion Picture Drama, went to “The Martian” and “The Revenant” respectively. The latter film, a bloody frontier thriller set in the 1820s, also won best director for Alejandro Inarritu and best actor in a motion picture drama for Leonardo DiCaprio.

The win by "The Martian" in the comedy category raised eyebrows, including those of its director, Ridley Scott. "Comedy?" Scott wondered after taking the podium to accept the award before answering with a skeptical wave of his hand.

Gervais started the show with a slam on host network NBC, saying they were the only outlet who could broadcast the show fairly because, “They’re the only network with zero nominations.” He also claimed that the president of the Hollywood Foreign Press Association, which organizes the Globes, had warned Gervais that "if I say anything offensive or crass or resort to innuendo, he is going to come out here and personally pull me off" the stage. Gervais then said, "That's an offer I couldn't refuse" and segued into a joke about masturbation. 

He later mocked the awards themselves, describing them as "a bit of metal that some confused old journalist wanted to give you to meet you in person and take a selfie."

More On This...

“If you do win tonight, remember that no one cares about that award as much as you do," Gervais said. "Don’t get emotional. It’s embarrassing.”

The comedian added that he has won three Globes: "One's a doorstop. One I use to hit burglars with, and one I keep by the bed to-- it doesn't matter why. It's mine. It's mine."

Gervais also took a swipe at Ben Affleck when introducing Matt Damon, calling him "the only person who [Affleck] hasn’t been unfaithful to." Damon, who later won won Best Actor in a Motion Picture Comedy or Musical for “The Martian”, shrugged and laughed uncomfortably as he took to the stage to present.

But the most awkward moment of the night came when Gervais and Gibson stood onstage for several minutes of uncomfortable ribbing, during which Gibson said that seeing Gervais host the show every three years "reminds me to get a colonoscopy." Gervais countered by asking Gibson "What the f--- does sugar t--s even mean?", a reference to an insult Gibson directed at a female police officer during his now-infamous arrest for drunken driving in 2006.

As the show moved on, Jamie Foxx poked fun at Steve Harvey by imitating the “Family Feud” host's viral gaffe at last month's Miss Universe pageant. Foxx pretended the Best Original Score winner was “Straight Outta Compton" before furiously showing the cue card and admitting the winner was in fact “The Hateful Eight.”

Sylvester Stallone got a standing ovation when he was awarded Best Supporting Actor in a Motion Picture for “Creed”, in which he played the character that earned him his only other Golden Globe nomination 39 years earlier.

"I want to thank my imaginary friend Rocky Balboa for being the best friend I ever had," said Stallone.

Jennifer Lawrence won her third Golden Globe for a David O. Russell-directed film, grabbing the Best Actress in a Motion Picture Comedy award for “Joy.” Brie Larson won Best Actress in a Motion Picture Drama for “Room”, concluding her acceptance speech by saying "I'm sorry for anyone I forgot. I'll write you a thank-you card."

Though "Steve Jobs" failed to win over many critics or moviegoers, Danny Boyle's drama about the Apple co-founder earned best screenplay for Aaron Sorkin and best supporting actress for Kate Winslet. Winning her fourth Globe in 11 nominations, Winslet triumphed over Alicia Vikander, who missed out on both supporting actress for her role in "Ex Machina" and best drama actress for her turn in "The Danish Girl."

On the TV side, Taraji P. Henson of Fox's "Empire" was awarded Best Television Series Actress in a Drama. Jon Hamm took home the award for Best Television Series Actor in a Drama for AMC's “Mad Men.” Meanwhile, Best Drama Series went to USA Network's "Mr. Robot", and Best Comedy Series went to Amazon’s “Mozart in the Jungle.”

Other winners of the night included “Inside Out”, which won Best Animated Motion Picture, and Lady Gaga, who won Best Actress in a TV Movie or Miniseries for FX's “American Horror Story: Hotel.”

The Associated Press contributed to this report.