Victor Boyko/Getty Images for LDC FoundationMadonna delivered a surprise performance at Leonardo DiCaprio‘s fourth annual charity gala in St. Tropez, France, on Thursday night.

Entertainment Weekly reports the Queen of Pop performed a medley of her hits for a star-studded guest list that included her ex-husband Sean Penn, and Leo’s Titanic co-stars Kate Winslet and Billy Zane. Tom Hanks, Kate Hudson, Uma Thurman, Jared Leto, Tobey Maguire and Edward Norton were also in attendance.

Lenny Kravitz also performed later in the evening, with Madonna and Leo joining him on stage.

Madonna later posted a video clip of her performance on Instagram, writing, “Such an honor to be here supporting Leo’s foundation and doing what we can to save Planet Earth!”

The event raised $30 million for the Leonardo DiCaprio Foundation, which is dedicated to environmentalist causes.

Copyright © 2017, ABC Radio. All rights reserved.