The longest, loudest standing ovation of the Kennedy Center Honors gala wasnโ€™t reserved for Al Pacino, Mavis Staples or the Eagles. Instead, it went to the man sitting to their left, attending his eighth and most likely his last honors presentation: President Barack Obama.

While politics were absent from the tributes to the performers who were recognized for influencing American culture Sunday night, the arts communityโ€™s affection for Obama โ€” and its nervousness about President-elect Donald Trump โ€” was palpable in the Kennedy Center Opera House.

The president and first lady Michelle Obama were introduced last, after Pacino and his fellow honorees: gospel singer Staples; pianist Martha Argerich; singer-songwriter James Taylor; and Don Henley, Timothy B. Schmit and Joe Walsh, the surviving members of the Eagles.

After a sustained ovation, host Stephen Colbert greeted the crowd of Washington insiders as โ€œendangered swamp-dwellers,โ€ referencing Trumpโ€™s โ€œdrain the swampโ€ campaign pledge. He joked that Obama would need to receive the honor to attend again and that โ€œunlike the Nobel Peace Prize, they donโ€™t just give these away.โ€

The Kennedy Center Honors are in their 39th year, a period that has included six presidents โ€” three Republicans, three Democrats โ€” and all have taken time to welcome the recipients. But the 2016 election was noteworthy for the way A-list performers lined up behind Obama and Democratic nominee Hillary Clinton, while Trump had relatively few celebrity endorsements.

Although the president has no say in who receives the awards, Colbert joked that next yearโ€™s honorees would include Scott Baio, Gary Busey and Meat Loaf.

โ€œFor the past eight years, the White House has given us a leader whoโ€™s passionate, intelligent and dignified,โ€ Colbert said, and the crowd rose for another prolonged ovation, prompting Obama to stand and wave.

โ€œSir, I donโ€™t even know why you stood up. I was talking about Michelle,โ€ Colbert said.

Earlier, at the White House, Obama welcomed the honorees at a reception and said participating in the gala was โ€œone of the perks of the job.โ€

โ€œThe arts have always been part of life at the White House because the arts are always central to American life,โ€ Obama said. โ€œThatโ€™s why over the past eight years Michelle and I have invited some of the best writers, musicians, actors and dancers to share their gifts with the American people and to help tell the story of who we are.โ€

Kennedy Center chairman David Rubenstein also thanked the Obamas, noting that the president isnโ€™t required to attend the honors or host a reception. He offered them a โ€œgolden ticketโ€ good for free admission to any event at the center.

โ€œParking is extra,โ€ Rubenstein said.

Another standing ovation went to Bill Clinton, who made a surprise appearance on stage to talk about how Taylorโ€™s music resonated with him and the American public in times that tested the nationโ€™s resolve.

โ€œOur nation was reeling from the pain of Vietnam,โ€ Clinton said. โ€œJames was there to satisfy our hunger for both intimacy and authenticity.โ€

Politics aside, the honors proceeded as usual, with musicians and actors taking the stage to pay tribute to the honorees, who stood on a balcony, waving and applauding as they wore the eventโ€™s signature rainbow-colored garlands. The ceremony will be broadcast Dec. 27 on CBS.

The tribute to Pacino included remarks by Sean Penn and recitations of Shakespeare by Laurence Fishburne and Lily Rabe. Chris Oโ€™Donnell and Gabrielle Anwar re-enacted the tango that Pacino danced with Anwar in โ€œScent of a Woman,โ€ the 1992 movie that won Pacino his long-overdue Oscar.

Kevin Spacey gave a virtuoso tutorial on how to impersonate the actor whose passionate delivery has helped create some of the most memorable lines in American cinema. The keys are to look surprised and exhale loudly, Spacey said.

โ€œAl seems to have a lot of air,โ€ he said.

Garth Brooks, Sheryl Crow and Darius Rucker performed medleys of Taylorโ€™s music. Yitzhak Perlman played violin and Yuja Wang played piano to honor the Argentine-born Argerich.

Staplesโ€™ songs were performed by Elle King, Bonnie Raitt and Andra Day, and actor Don Cheadle spoke about the civil rights legacy of Staples and her family, who were close to the Rev. Martin Luther King Jr. and performed at John F. Kennedyโ€™s inauguration.

โ€œSheโ€™s still fighting. Sheโ€™s still singing freedom songs,โ€ Cheadle said.

The Eagles were originally selected to be honored last year, but the band opted to delay participation because of founding member Glenn Freyโ€™s poor health. Frey died in January at age 67, making the event a bittersweet one for the surviving Eagles, who were joined by Freyโ€™s widow, Cindy Frey. Henley has said the band will never perform again. Bob Seger, Vince Gill, Kings of Leon and Colombian rocker Juanes performed the Eaglesโ€™ music Sunday.

โ€œI want to dedicate this evening to our brother Glenn,โ€ Henley said as the band accepted its honors Saturday night at the State Department. โ€œHe was so much a part of our success. He was the driving force in this band. He believed in the American dream.โ€

The bandโ€™s longtime manager, Irving Azoff, sobbed as he raised a glass to Frey.

โ€œFor our Eagles family,โ€ he said, โ€œ2016 couldnโ€™t have had a harder beginning or a more appropriate ending.โ€