US President Donald Trump speaks during a rally at Total Sports Park in Washington, Michigan on April 28, 2018. (Photo by MANDEL NGAN / AFP)        (Photo credit should read MANDEL NGAN/AFP/Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
US President Donald Trump speaks during a rally at Total Sports Park in Washington, Michigan on April 28, 2018. (Photo by MANDEL NGAN / AFP) (Photo credit should read MANDEL NGAN/AFP/Getty Images)
Now playing
00:52
Trump slams correspondents' dinner at rally
President Donald Trump addresses the 73rd session of the United Nations General Assembly, at U.N. headquarters, Tuesday, Sept. 25, 2018. (AP Photo/Richard Drew)
PHOTO: Richard Drew/AP
President Donald Trump addresses the 73rd session of the United Nations General Assembly, at U.N. headquarters, Tuesday, Sept. 25, 2018. (AP Photo/Richard Drew)
Now playing
02:17
Trump claim to world leaders met with laughter
PHOTO: CNNMoney
Now playing
06:22
How Trump's tweet sparked #WhyIDidntReport
President Donald Trump points to the crowd after speaking to law enforcement officials on the street gang MS-13, Friday, July 28, 2017, in Brentwood, N.Y.
PHOTO: Evan Vucci/AP
President Donald Trump points to the crowd after speaking to law enforcement officials on the street gang MS-13, Friday, July 28, 2017, in Brentwood, N.Y.
Now playing
01:46
Trump's I'm-joking-but-not-really strategy
WASHINGTON, DC - DECEMBER 15:  U.S. President Donald Trump listens to a question as he speaks to members of the White House Press Corps prior to his Marine One departure from the South Lawn of the White House December 15, 2017 in Washington, DC. (Alex Wong/Getty Images)
PHOTO: Alex Wong/Getty Images
WASHINGTON, DC - DECEMBER 15: U.S. President Donald Trump listens to a question as he speaks to members of the White House Press Corps prior to his Marine One departure from the South Lawn of the White House December 15, 2017 in Washington, DC. (Alex Wong/Getty Images)
Now playing
01:20
Trump often says he's 'the least racist person'
PHOTO: CNN
Now playing
01:00
Trump on Manafort: I feel sad about that
PHOTO: Pool
Now playing
01:22
Trump on Cordray: He was groomed by 'Pocahontas'
Now playing
05:58
Baldwin: This face behind Trump startled me
PHOTO: CNN
Now playing
02:01
Trump responds to op-ed: 'Gutless'
PHOTO: CNN Illustration/Getty Images
Now playing
03:18
Why Woodward's book matters
PHOTO: CNN
Now playing
01:13
Dean: Trump acts 'frighteningly dictatorial'
WASHINGTON, DC - MAY 08:  U.S. President Donald Trump announces his decision to withdraw the United States from the 2015 Iran nuclear deal in the Diplomatic Room at the White House May 8, 2018 in Washington, DC. After two and a half years of negotiations, Iran agreed in 2015 to end its nuclear program in exchange for Western countries, including the United States, lifting decades of economic sanctions. Since then international inspectors have not found any violations of the terms by Iran.  (Photo by Chip Somodevilla/Getty Images)
PHOTO: Chip Somodevilla/Getty Images North America/Getty Images
WASHINGTON, DC - MAY 08: U.S. President Donald Trump announces his decision to withdraw the United States from the 2015 Iran nuclear deal in the Diplomatic Room at the White House May 8, 2018 in Washington, DC. After two and a half years of negotiations, Iran agreed in 2015 to end its nuclear program in exchange for Western countries, including the United States, lifting decades of economic sanctions. Since then international inspectors have not found any violations of the terms by Iran. (Photo by Chip Somodevilla/Getty Images)
Now playing
02:31
Woodward book reveals 'crazytown' White House
PHOTO: CNN Illustration/Getty Images
Now playing
03:03
Trump's latest Twitter tirade lashes at media
TOPSHOT - US President Donald Trump waits to speak during a memorial service at the Pentagon for the 9/11 terrorist attacks  September 11, 2017 in Washington, DC. / AFP PHOTO / Brendan Smialowski        (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
PHOTO: Brendan Smialowski/AFP/Getty Images
TOPSHOT - US President Donald Trump waits to speak during a memorial service at the Pentagon for the 9/11 terrorist attacks September 11, 2017 in Washington, DC. / AFP PHOTO / Brendan Smialowski (Photo credit should read BRENDAN SMIALOWSKI/AFP/Getty Images)
Now playing
01:57
Trump warns of violence if GOP loses midterms
PHOTO: Photo Illustration: Getty Images/CNN Business
Now playing
01:40
Trump: Impeach somebody who's done great job?
PHOTO: Fox News Channel
Now playing
01:19
Trump on Sessions: What kind of man is this?
(CNN) —  

This year’s White House correspondents dinner featured a deeply satirical edge and a variety of voices in an evening of provocative political humor.

Comedian Michelle Wolf, best known for her contributions on “The Daily Show,” headlined the event, unleashing an unusually biting and raunchy routine. She mocked lawmakers and members of the media, but focused on President Donald Trump, who was not in attendance, and others from the White House in a routine that drew harsh critiques from many in the audience and online.

Trump, who has called the media “the enemy of the American people,” held a campaign-style rally in Michigan instead, as he did in Pennsylvania during last year’s dinner. Representing him at Saturday night’s dinner, which raises money for scholarships, was White House press secretary Sarah Sanders.

Sanders, who was seated at the main table just a few feet from Wolf, drew some of the harshest jokes of the evening from the comedian. Those jokes were met mainly with gasps, some chuckles, and sometimes silence.

The dinner, referred to in some circles as “nerd prom,” brings together journalists and government officials to celebrate the First Amendment.

In a lighter brand of comedy to begin the program, Margaret Talev, president of the White House Correspondents Association and a CNN contributor, presented a cartoon spoof of what might have happened if Trump had attended the dinner, while ribbing how famous media personalities would have covered it.

Talev also denounced attempts by people to label journalists as dishonest or paint their work that way.

“We reject efforts by anyone, especially our elected leaders, to paint journalism as un-American, to undermine trust between reporter and reader, or to cast doubt on the relevance of fact and truth in the modern age,” she said.

House Speaker Paul Ryan offered a video message in which he poked fun at his impending retirement, showing himself updating his LinkedIn account.

“I’m going to miss sparring with the press every day,” Ryan tells the camera. “In fact, boredom is probably my biggest worry for life after Congress. Luckily, Boehner texted me the other day and he said he found something that helps him chill out. It’s something to do with grass, I don’t really know.”

But Ryan then switched to a more serious note, praising the White House Correspondents’ Association scholarship students he met at the White House on Friday for their hard work.

“My message to the next generation of reporters, it’s really simple – know that what you do matters,” Ryan said. “There’s so much noise out there, but our Republic does not work without an informed electorate. Challenge yourself to challenge those of us in public office.”

Talev, a senior White House correspondent for Bloomberg News, provided an anecdote from the students’ recent trip to the White House.

“The President asked them if they were sure they actually wanted to become journalists, but then he praised journalism as – and I quote – a great profession, and also asked them how quickly they could get to work so that they could kick us out and replace us,” Talev said. When she asked the students how they felt, she said a group of them responded simultaneously, “‘That was surreal.’ And we nodded because we know the feeling.”

Trump snubbed the annual dinner last year, the first time a President skipped the Washington tradition since 1981 when Reagan was recovering from an assassination attempt. Even then, Reagan called in to make a few jokes.

While Trump wasn’t there to land any punchlines, Wolf, who previously wrote for “Late Night With Seth Meyers and has a stand-up special on HBO called “Michelle Wolf: Nice Lady,” delivered nearly 10 minutes of her own.

“You can’t shut me up as a woman … unless you are Michael Cohen and wire me $130,000,” she quipped. “You can find me on Venmo under my porn star name, Reince Priebus.”

“I did have a lot of jokes about Cabinet members, but I had to scrap all of those because everyone has been fired,” she said. “You guys are going through Cabinet members quicker than Starbucks throws out black people.”

Other jokes moved into more controversial territory, drawing a mixture of laughs and uncomfortable silence from the crowd.

Typically at the dinner the hosting entertainer roasts the president and the administration, and the president returns the gesture. Before Trump announced his candidacy, he attended the 2011 dinner, where President Barack Obama was at the head table and, along with comedian Seth Meyers, famously mocked Trump.

The White House correspondents’ dinner is known for being an A-list extravaganza, with exclusive parties hosted all weekend across the city. But the usual attendance of high-wattage Hollywood stars was subdued compared to the years when Obama was president, and several companies canceled their before- and after-parties this year.

Journalists from CNN, The New York Times, Reuters, and The Washington Post received various awards for journalistic excellence, news coverage on deadline, and excellence in coverage of subjects of significant national or local importance.