Donald Glover cast in upcoming "Star Wars"

Donald Glover speaks onstage at the “Atlanta” New York Screening at The Paley Center for Media on August 23, 2016 in New York City. 

Neilson Barnard, Getty Images

LOS ANGELES -- Donald Glover is joining the “Star Wars” universe.

Disney announced Friday that the writer, actor and rapper will play Lando Calrissian in the upcoming Han Solo “Star Wars” film.

Alden Ehrenreich was previously cast as the title character.

Directors Phil Lord and Christopher Miller say the new film will explore Lando in his formative years, before the events depicted in “The Empire Strikes Back” and “Return of the Jedi.”

The untitled film is set for release in 2018.