First lady Michelle ObamaMichelle LeVaughn Robinson ObamaMichelle Obama shares advice for first-generation college students ‘Outnumbered’ host shares ‘9 Rules’ for success in new book Poll: Republicans view Netflix less favorably MORE’s exclusive 50th birthday party Saturday night at the White House featured a constellation of musical stars, headlined by a hotly anticipated performance by Beyoncé.

Other musicians at the event included John Legend, Stevie Wonder, Smokey Robinson, Jennifer Hudson, James Taylor, Gladys Knight and Mary J. Blige, according to CNN.

Celebrities in attendance included former basketball star Magic Johnson, who in recent weeks has helped the administration promote enrollment in ObamaCare, actor Samuel L. Jackson and television chef Rachel Ray.

Tennis legend Billie Jean King, who will head the presidential delegation to next month’s Winter Olympics in Sochi, was also in attendance, as was Facebook executive Sheryl Sandberg and “Today Show” weatherman Al Roker.

Washington restauranteur Jose Andreas, who has participated in the White House’s push for comprehensive immigration reform, also attended the dance party.

Guests pointed to three highlights of the event: the first lady’s all-red ensemble, a short and emotional speech delivered by the president about his relationship with his wife, and the president cutting loose on the dance floor.

“The president gave a wonderful, wonderful speech about her, and then Beyoncé performed and wow,” Robinson told NBC News.

According to CNN, the president broke out “The Dougie” — a hip hop dance popularized in 2009 by a song by rap group Cali Swag District.

The White House had kept details of the party tightly under wraps, only acknowledging that dancing was on the agenda.

“Not even the NSA knows” what was planned, the president told People magazine in an interview published last week.