It took Amy Poehler and Tina Fey until the final minute or so of their opening monologue at the 2015 Golden Globes to trot out their first Bill Cosby joke.

"In `Into the Woods,' Cinderella runs from her prince, Rapunzel is thrown from her tower for her prince and Sleeping Beauty just thought that she was getting coffee with Bill Cosby," Poehler cracked.

Both then took turns trying out impersonations of the disgraced comedian.

"I put the pills in the people that the people did not want put into them," Fey did in her best Cosby voice, before Poehler gave it a shot.

But Cosby wasn't the only target. The duo began the night with a North Korea/"The Interview" hacking joke.

"Tonight we celebrate all the great television shows that we know and love as well as all the movies that North Korea was okay with," Fey said.

Reese Witherspoon, Emma Stone, and many, many more were also the subjects of the comedians’ good-natured barbs. Fey poked fun of herself as well. 

“Steve Carell took two hours to put on his hair and makeup for 'Foxcatcher',” she said. “Just in comparison, it took me three hours to prepare for my role tonight as human woman.”

Poehler also took on actors' vanity. 

“Jennifer Aniston is here for her role in the movie ‘Cake,’” she said, explaining to the audience that "cake is like a fluffy dessert that people eat on their birthdays, and birthdays are things that people celebrate when they admit that they’ve aged.”

Once the jokes were over, the show got down to presenting some gongs. Michael Keaton was one of the night's big winners, netting Best Actor in a Film, Musical or Comedy for his comeback role in "Birdman." After a teary speech in which he recounted a hardscrabble upbringing and called his son his best friend, Keaton got a laugh from the rapt crowd when he added: "Two things I promised I wasn't going to do, cry and give air quotes. Damn."

Eddie Redmayne took home a statue for playing Stephen Hawking in "The Theory of Everything" and revealed he and his new wife had to cut their honeymoon short to be at the awards show.

Kevin Spacey won his first Golden Globe (after eight nominations over the years) for his role as Frank Underwood on the Netflix hit "House of Cards," Julianne Moore won Best Actress in a Motion Picture for "Still Alice," J.K. Simmons won for Best Supporting Actor for his role in the movie "Whiplash," and Joanne Froggatt nabbed Supporting Actress in a Series, Miniseries or Movie for her role on "Downton Abbey."

CLICK FOR FULL LIST OF WINNERS

"Boyhood" co-star Patricia Arquette took Best Supporting Actress; "Birdman" director Alejandro Gonzalez Inarritu shared in the award for Best Screenplay; and Amy Adams surprised in taking Best Actress in a Comedy or Musical for her performance in "Big Eyes."

Accepting her award, an unprepared Amy Adams said: "I didn't even reapply lip gloss."

Gina Rodriguez, who plays the title role in "Jane the Virgin," beat much-honored stars like Julia Louis-Dreyfus and Lena Dunham as Best Comedy Actress, on the same day the CW network announced the series had been picked up for its second season.

Rodriguez is the second Latina actress to win the award in this category, after America Ferrara of "Ugly Betty" in 2007.

"This award is so much more than myself," said Rodriguez, who thanked her parents for allowing her to follow her dreams. "It represents a culture that wants to see themselves as heroes."

Actor Matt Bomer won a Globe as best supporting actor in a TV movie for playing a New York Times reporter with the AIDS virus in HBO's "The Normal Heart." He thanked his husband and three children from the stage.

"Fargo" boasted two wins, including Best Miniseries or Movie, and star Billy Bob Thornton's award for Best Actor. The Amazon show "Transparent" also had two early wins, one for Best Series, Musical or Comedy, and a Best Actor for its star, Jeffrey Tambor.

The DreamWorks sequel "How to Train Your Dragon 2" took best animated film over the favorite, "The Lego Movie," and `The Grand Budapest Hotel' won the Golden Globe for Best Movie, Musical or Comedy.

The biggest award of the night, Best Motion Picture, Drama, went to "Boyhood," a movie made over 12 years using the same actors for about a week each year.

A few of the stars may have been on edge when Ricky Gervais -- a three-time Globes host who skewers both the show and Hollywood's elite -- took the stage to present an award.

Gervais behaved... for the most part.

"I'm not going to start picking on things you've done," he told his fellow actors. "Some of it immoral. A lot of it illegal. If we've learned one thing, it's that famous people are above the law. As it should be."

Despite the evening's light tone, the recent terrorist attack in Paris at the offices of the satirical newspaper Charlie Hebdo hung heavily over the show, televised live from the Beverly Hill Hilton in Beverly Hills, California. Attendees such as Clooney sported "Je Suis Charlie" pins and others like Helen Mirren held up signs that read the same on the red carpet.

Hollywood Foreign Press Association President Theor Kingma drew a standing ovation for a speech pledging support of free speech "from North Korea to Paris."

Sunday night's show was Fey and Poehler's last as hosts. The two announced earlier in the week that they would be signing off after their wildly successful three-year run. Last year's show had over 20 million viewers, the most since 2004.

The Associated Press contributed to this report.

WATCH: Four4Four: The WORST of the Golden Globes