President Obama poked fun at himself and the state of politics during his final White House Correspondents' Dinner as President Saturday night.

"It is an honor to be here at my last, and perhaps the last White House Correspondents Dinner," he said.

The President made light of the election season with jokes aimed at candidates on both sides, including Democrat Bernie Sanders who attended the event.

Obama also took shots at several New York leaders, including Mayor Bill de Blasio for a controversial joke he made at last month's Inner Circle show with White House contender Hillary Clinton.

"I was a little late tonight," Obama said, addressing de Blasio and Clinton. "I was running on CPT, which stands for jokes white people should not make."

He also spoke candidly to former Mayor Michael Bloomberg, who was in the audience.

"Mike, a combative, controversial New York billionaire is leading the GOP primary and it is not you," Obama said.

Comedian Larry Wilmore delivered the keynote comedic address at this year's dinner.

He scored laughs with many of his jokes — but fell flat with this one — in a room full of journalists:

"I gotta be careful picking on you, Mr. President," Wilmore said. "A couple of years ago during this dinner, you were, like, killing Osama bin Laden. Remember that? Who are you killing tonight? Can't be print journalism, that industry's been dead for a while now, right?"

The President also talked about Donald Trump's absence — and the struggle to appoint Chief Judge Merrick Garland to the Spreme Court.