Outgoing UN Ambassador Nikki Haley introduced as 'next president of the US' at charity dinner Haley poked fun at President Trump and his his longtime rival Sen. Warren.

Outgoing U.N. Ambassador Nikki Haley poked fun at President Donald Trump, his longtime rival Sen. Elizabeth Warren and other high-profile politicians in a lighthearted speech on Thursday.

Haley showed off her aptitude for keeping a secret last week with a shocking resignation announcement, but she displayed a brand new talent during her speech in New York City on Thursday as she assumed the role of a comedian for the night.

"Two years ago Trump was here and made some waves with his remarks, so last year you went with Paul Ryan, who’s a Boy Scout and that’s fine, but a little boring. So this year, you wanted to spice things up again,” she quipped after being introduced as the “next president of the United States.”

Haley kept the crowd entertained during her keynote speech at the Annual Alfred E. Smith Memorial Foundation Dinner, a fundraiser for impoverished children, and she even touched on the president’s ongoing feud with Warren, D-Mass., over the senator's Native American ancestry.

“I get it, you wanted an Indian woman, but Elizabeth Warren failed her DNA test,” joked Haley, whose parents emigrated from Punjab, India. “Actually, when the president found out that I was Indian American, he asked me if I was from the same tribe as Elizabeth Warren.”

Haley, who will keep her post at the U.N. until the end of the year, acknowledged that she had tough shoes to fill as keynote speaker, an honor most-recently bestowed to House Speaker Ryan, Trump and Hillary Clinton.

“I really am super excited to be at the Al Smith Dinner. As a member of the Trump Cabinet, it is a thrill to be out to dinner without being harassed,” Haley said. "Actually the president called me this morning and gave me some really good advice.

“He said if I get stuck for laughs, just brag about his accomplishments. It really killed at the U.N., I got to tell you." she added, referring to an incident at the U.N. General Assembly last month when audience members laughed after Trump said his “administration has accomplished more than almost any in the history of our country.”

Haley also made light of her role as America’s ambassador in a joke about “the most important thing” she learned working under Trump.

“I learned that the U.N. has 193 member nations, 180 of which are mad at us on any given day, and the most important thing I learned is that with all of our differences there is still one thing that unites all 193 countries: At one point every single one of them was paying Paul Manafort,” she said, referring to Trump’s former campaign chairman, who was convicted on federal money laundering charges.

The former South Carolina governor also delivered punchlines about rapper Kanye West and Trump’s embattled attorney general, Jeff Sessions.

"Jeff Sessions wanted to be here but he recused himself," she said. "Actually I saw Jeff Sessions earlier today, but not in New York, I saw him on LinkedIn looking for a job."

The Al Smith Dinner, a white-tie gala featuring prominent politicians, was one of Haley’s first appearances since announcing her resignation in an Oval Office meeting with the president Oct. 9.

“She’s done a fantastic job and we’ve done a fantastic job together,” Trump during the meeting. “We’re all happy for you in one way, but we hate to lose you.”

Haley said her working with the U.N. was an “honor of a lifetime" and said she would continue to support Trump as “a private citizen.”

"I expect to continue to speak out from time to time on important public policy matters, but I will surely not be a candidate for any office in 2020,” she said following her announcement. “As a private citizen, I look forward to supporting your re-election as president and supporting the policies that will continue to move our great country toward even greater heights."