After being courted for several months, Leonardo DiCaprio will star in Quentin Tarantino’s untitled Charles Manson movie, sources confirmed to Variety.

DiCaprio will play an aging, out-of-work actor in the film. Margot Robbie, meanwhile, is being eyed for the role of Sharon Tate.

This will mark DiCaprio’s first film since winning the Oscar in 2016 for his performance in Alejandro G. Iñárritu’s “The Revenant.” DiCaprio and Tarantino last collaborated on 2012’s “Django Unchained.”

He is repped by LBI Entertainment.

As previously reported, Tom Cruise is also being pursued to star in the director’s ninth feature. Sources now tell Variety that Tarantino is interested in casting Al Pacino in the film as well. Sony is handling distribution.

The movie will hit theaters on Aug. 9, 2019, Variety has learned. Opening on the 50th anniversary of the day that the Manson family committed the LaBianca murders and the day after Tate was killed, the film will head off against “Artemis Fowl,” Disney’s adaptation of the popular sci-fi and fantasy series.

Sony beat out several bidders, including Warner Bros. and Paramount, for rights to the film. The movie — shrouded in secrecy — is set in 1969 and is believed to involve Charles Manson and the Manson family murders. The director has told media outlets that it’s not a biopic, but is an ensemble film set during the tumultuous time period. It’s the first pic that Tarantino is releasing without the Weinstein Company. A group of investors led by Maria Contreras-Sweet is in a strong position to buy the Weinstein Company following sexual misconduct allegations against its disgraced founder Harvey Weinstein.

Deadline Hollywood first reported the news.