Credit: Barry Brecheisen/

It's been a great 25 years!

A bevy of stars came out Tuesday night in Chicago for Oprah Winfrey's farewell show.

Longtime pal Madonna gushed: "[Oprah's] been on her game for 25 years and she's still kicking ass!"

"When I watch the show, I cry because I feel it," Jamie Foxx said. "Oprah, thank you for using your gift to lift up so many more."

Other notable celebs in attendance? Tom Cruise, Katie Holmes, Will Smith, Stevie Wonder and Beyonce.

Beyonce performed her new single "Run the World (Girls)" to the delight of the crowd -- and Tom Hanks!

"I don't know what Beyonce was recruiting for, but I'm signing up," Hanks quipped. "If she runs for president, I think she's going to win."