Billy Eichner Dishes on Obama's Farewell Party During First Appearance on 'The Ellen DeGeneres Show'

Michael Rozman/Warner Bros

President Barack Obama and First Lady Michelle Obama hosted a farewell party on Friday night that drew some of the biggest stars on the planet.

President Barack Obama and first lady Michelle Obama hosted a farewell party at the White House on Friday night that drew some of the biggest stars on the planet, including Billy Eichner.

The 38-year-old comedian dished on the historic event during his first appearance on The Ellen DeGeneres Show on Wednesday.

WATCH: President Barack Obama Delivers Emotional Farewell Address

"It was like two o'clock in the morning and the president has his sleeves rolled up and a couple of buttons down, and he's breaking it down on the dance floor," Eichner recalled. "Questlove is blasting Kendrick Lamar in the White House and it's next to a huge picture of Mary Todd Lincoln. We're all dancing together and it's, like, Tom Hanks and Sarah Jessica Parker and Stephen Colbert ... I mean, it's unreal."

Sir Paul McCartney, John Legend, Chrissy Teigen, Jerry Seinfeld, Nick Jonas, Kelly Rowland, Bruce Springsteen, George Lucas, Robert De Niro, David Letterman, Chris Rock, Tyler Perry and Gwyneth Paltrow were also among those on the guest list. In a room full of A-listers, there was little chance for one-on-one time with the commander in chief, but Eichner patiently waited his turn.

"I did get to go up to the president," he said. "There was a moment around midnight when I saw there was an opening. And so I go up to him and I say, 'Mr. President, I'm Billy Eichner. I host a show called Billy on the Street. 'He's like, 'Billy, I know who you are.'"

WATCH: Chrissy Teigen Wore Black to President Obama's Farewell Party Because 'It Was a Funeral for Me'

"I got to thank him," Eichner continued. "I thanked him for everything he's done for the LGBT community, and he said it was one of the things he's most proud of, and I was really happy I got the chance to do that."

During his two terms, President Obama repealed Don't Ask, Don't Tell, allowing gay, lesbian and bisexual Americans to serve openly in the Armed Forces, and announced that the Department of Justice would no longer defend the Defense of Marriage Act's (DOMA) provision defining marriage as only between a man and a woman. He also signed an Executive Order to protect LGBT workers by prohibiting federal contractors from discriminating on the basis of sexual orientation or gender identity.

DeGeneres had her own surreal moment with the president in November when she was honored with the Presidential Medal of Freedom. Watch the video below for more.