Andy Samberg didn't hold back during his first-time hosting the Emmy Awards. The Brooklyn Nine-Nine star kicked things off with a musical number about locking himself in a bunker and watching "every damn show" in preparation for hosting. This resulted in Samberg name-dropping everything from Grace of Monaco to The Jinx to "all the Wives" shows while dancing around in a Cast Away beard. The song also provided a great excuse to bring in a bunch of fun guest stars, including Will Forte as Javert from Les Miserables. Why? Because you don't need an excuse to make "The Confrontation" jokes.

Emmys: See all the best red carpet looks

But when it came to his monologue, Samberg went very political. He took on Hollywood's diversity problem ("Racism is over. Don't fact check that) to its misogyny ("I gotta say, [Amy] Schumer is really, really funny — you know, for a person.

Of course, the comedian couldn't resist poking fun at the presidential candidates. "Sure, Donald Trump seems racist. What else?" Samberg joked, before adding, "Is it just me, or does Bernie Sanders always look like his flight's been delayed."

And since this is the Emmys, Samberg didn't forget to make a few great TV burns as well. After listing all the great shows that ended this year, Samberg quipped, "And we also said goodbye to True Detective, even though it's still on the air."

But the highlight of the whole monologue was, without a doubt, when Samberg explained to the nominees that rather than having music play them off, they would get "shamed" by the angry nun from Game of Thrones, as played by Jane Lynch.

What did you think of Samberg's Emmys intro?