Leonardo DiCaprio has admitted that his biggest career "regret" is turning down Boogie Nights. During an interview with Paul Thomas Anderson for Esquire, the Oscar-winning actor admitted that he regrets turning down Anderson's 1997 film Boogie Nights due to a scheduling conflict with his smash hit blockbuster Titanic. Mark Wahlberg was ultimately cast as adult film star Dirk Diggler, which became his breakout role. "I'll say it even though you're here: My biggest regret is not doing Boogie Nights. It was a profound movie of my generation," DiCaprio told Anderson. "I can't imagine anyone but Mark in it. When I finally got to see that movie, I just thought it was a masterpiece. It's ironic that you're the person asking that question, but it's true." DiCaprio previously explained that he had to pass on Boogie Nights because he'd already signed on to star in James Cameron's mega-hit Titanic alongside Kate Winslet. He told GQ in 2008 that he wished he could have done both projects instead of being forced to choose between them. After their first collaboration fell through, DiCaprio and Anderson waited for more than 20 years to finally work together on One Battle After Another, which comes out next month. "I know One Battle After Another has been on your desk for a long time," The Wolf of Wall Street star explained. "But ultimately, wanting to do this movie was pretty simple: I've been wanting to work with you - Paul - for something like twenty years now, and I loved this idea of the washed-up revolutionary trying to erase his past and disappear and try and live some sort of normal life raising his daughter." One Battle After Another follows a group of ex-revoluntaries who reunite to help DiCaprio's Bob find his daughter. The action thriller will be released in cinemas on 26 September.