Former President Barack Obama will deliver two virtual graduation commencement speeches: one on television on May 16th and another via YouTube on June 6th.

On May 16th, Obama will take part in the televised event Graduate Together: America Honors the High School Class of 2020, congratulating over three million high school seniors while reflecting on the COVID-19 pandemic and the new ways students have adjusted to learning. It will premiere on ABC, NBC, CBS and FOX at 8 pm E.T.

His speech will be given alongside LeBron James, Malala Yousafzai, Bad Bunny, Pharrell Williams, the Jonas Brothers, Yara Shahidi, Lena Waithe, Megan Rapinoe, H.E.R., Ben Platt and others.

The event is hosted by the LeBron James Family Foundation, XQ Institute and the Entertainment Industry Foundation. “This high school graduation season will be anything but ordinary — but that’s all the more reason why the Class of 2020 deserves extraordinary advice, heartfelt encouragement and hard-won wisdom about facing new challenges in an uncertain world,” Russlynn Ali, CEO and co-founder of XQ Institute, said in a statement. “We are grateful to President Obama for giving this gift to our nation’s three million high school seniors as they #GraduateTogether.”

On June 6th, the former President will participate in Dear Class of 2020, a YouTube event that also includes speeches by Michelle Obama, Lady Gaga, BTS, former Secretary of Defense Robert M. Gates and others, with an appearance by Alicia Keys.

“Graduation is a tradition that students and families look forward to and with the current state of the world, YouTube is lending some inspiration in the form of a virtual commencement,” Susanne Daniels, YouTube’s Global Head of Original Content, said in a statement. “We hope bringing together noteworthy, influential speakers along with performances from some of their favorite artists will provide encouragement for the students who have worked so hard to get here.”